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

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$command Neos\Flow\Cli\Command
$methodReflection Neos\Flow\Reflection\MethodReflection

Méthodes publiques

Méthode 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 méthode

public commandIdentifiers ( ) : array
Résultat array

constructRendersACommandIdentifierByTheGivenControllerAndCommandName() public méthode

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

dummyMethod() public méthode

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

getArgumentDefinitionsReturnsArrayOfArgumentDefinitionIfCommandExpectsArguments() public méthode

getArgumentDefinitionsReturnsEmptyArrayIfCommandExpectsNoArguments() public méthode

hasArgumentsReturnsFalseIfCommandExpectsNoArguments() public méthode

hasArgumentsReturnsTrueIfCommandExpectsArguments() public méthode

setUp() public méthode

public setUp ( ) : void
Résultat void

Property Details

$command protected_oe property

protected Command,Neos\Flow\Cli $command
Résultat Neos\Flow\Cli\Command

$methodReflection protected_oe property

protected MethodReflection,Neos\Flow\Reflection $methodReflection
Résultat Neos\Flow\Reflection\MethodReflection