PHP Class Neos\Flow\Tests\Unit\Cli\CommandTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$command Neos\Flow\Cli\Command
$methodReflection Neos\Flow\Reflection\MethodReflection

Public Methods

Method Description
commandIdentifiers ( ) : array
constructRendersACommandIdentifierByTheGivenControllerAndCommandName ( $controllerClassName, $commandName, $expectedCommandIdentifier )
dummyMethod ( string $arg ) Method used to construct some test objects locally
getArgumentDefinitionsReturnsArrayOfArgumentDefinitionIfCommandExpectsArguments ( )
getArgumentDefinitionsReturnsEmptyArrayIfCommandExpectsNoArguments ( )
hasArgumentsReturnsFalseIfCommandExpectsNoArguments ( )
hasArgumentsReturnsTrueIfCommandExpectsArguments ( )
setUp ( ) : void

Method Details

commandIdentifiers() public method

public commandIdentifiers ( ) : array
return array

constructRendersACommandIdentifierByTheGivenControllerAndCommandName() public method

public constructRendersACommandIdentifierByTheGivenControllerAndCommandName ( $controllerClassName, $commandName, $expectedCommandIdentifier )

dummyMethod() public method

Method used to construct some test objects locally
public dummyMethod ( string $arg )
$arg string

getArgumentDefinitionsReturnsArrayOfArgumentDefinitionIfCommandExpectsArguments() public method

getArgumentDefinitionsReturnsEmptyArrayIfCommandExpectsNoArguments() public method

hasArgumentsReturnsFalseIfCommandExpectsNoArguments() public method

hasArgumentsReturnsTrueIfCommandExpectsArguments() public method

setUp() public method

public setUp ( ) : void
return void

Property Details

$command protected property

protected Command,Neos\Flow\Cli $command
return Neos\Flow\Cli\Command

$methodReflection protected property

protected MethodReflection,Neos\Flow\Reflection $methodReflection
return Neos\Flow\Reflection\MethodReflection