Пример #1
0
 /**
  * @test
  * @author Bastian Waidelich <*****@*****.**>
  */
 public function hasArgumentsReturnsTrueIfCommandExpectsArguments()
 {
     $mockParameterReflection = $this->getMock('TYPO3\\CMS\\Extbase\\Reflection\\ParameterReflection', array(), array(), '', FALSE);
     $this->mockMethodReflection->expects($this->atLeastOnce())->method('getParameters')->will($this->returnValue(array($mockParameterReflection)));
     $this->assertTrue($this->command->hasArguments());
 }