Neos\Flow\Tests\Unit\Cli\CommandTest::hasArgumentsReturnsTrueIfCommandExpectsArguments PHP Метод

hasArgumentsReturnsTrueIfCommandExpectsArguments() публичный Метод

    public function hasArgumentsReturnsTrueIfCommandExpectsArguments()
    {
        $parameterReflection = $this->createMock(ParameterReflection::class, [], [[__CLASS__, 'dummyMethod'], 'arg']);
        $this->methodReflection->expects($this->atLeastOnce())->method('getParameters')->will($this->returnValue([$parameterReflection]));
        $this->assertTrue($this->command->hasArguments());
    }