class AbstractCommandTest extends WebTestCase

Constants

LOOP_MAX_LIMIT

Properties

protected Command $command
protected CommandTester $tester
protected int $contentCnt $contentCnt
protected string $content $content
protected int $loopCnt $loopCnt
protected int $loopCheckSum $loopCheckSum

Methods

initCommand(Command $PluginCommand)

$PluginCommand

executeTester(array $callback, array $commandArg)

executeTester

string
getLastContent()

getLastContent

addCommand(Command $command)

addCommand

mockQuestionHelper(Command $cmd, callable $mockHandler)

mockQuestionHelper

string
getQuestionMark(int $no)

getQuestionMark

createApplication()

No description

Details

at line 57
protected initCommand(Command $PluginCommand)

$PluginCommand

Parameters

Command $PluginCommand

at line 68
protected executeTester(array $callback, array $commandArg)

executeTester

Parameters

array $callback
array $commandArg

at line 83
protected string getLastContent()

getLastContent

Return Value

string

Exceptions

Exception

at line 109
protected addCommand(Command $command)

addCommand

Parameters

Command $command

at line 122
protected mockQuestionHelper(Command $cmd, callable $mockHandler)

mockQuestionHelper

Parameters

Command $cmd
callable $mockHandler

at line 134
protected string getQuestionMark(int $no)

getQuestionMark

Parameters

int $no

Return Value

string

at line 139
createApplication()