/**
  * @test
  */
 public function buildMethodArgumentsValidatorConjunctionsReturnsEmptyArrayIfMethodHasNoArguments()
 {
     $mockController = $this->getAccessibleMock('TYPO3\\FLOW3\\Mvc\\Controller\\ActionController', array('fooAction'), array(), '', FALSE);
     $mockReflectionService = $this->getMock('TYPO3\\FLOW3\\Reflection\\ReflectionService', array(), array(), '', FALSE);
     $mockReflectionService->expects($this->once())->method('getMethodParameters')->with(get_class($mockController), 'fooAction')->will($this->returnValue(array()));
     $this->validatorResolver = $this->getAccessibleMock('TYPO3\\FLOW3\\Validation\\ValidatorResolver', array('createValidator'), array(), '', FALSE);
     $this->validatorResolver->_set('reflectionService', $mockReflectionService);
     $result = $this->validatorResolver->buildMethodArgumentsValidatorConjunctions(get_class($mockController), 'fooAction');
     $this->assertSame(array(), $result);
 }