/** * @test */ public function hasArgumentsReturnsTrueIfCommandExpectsArguments() { $mockParameterReflection = $this->getMock('TYPO3\\FLOW3\\Reflection\\ParameterReflection', array(), array(), '', FALSE); $this->mockMethodReflection->expects($this->atLeastOnce())->method('getParameters')->will($this->returnValue(array($mockParameterReflection))); $this->assertTrue($this->command->hasArguments()); }