/**
  * @param $requestParser RequestParserInterface
  * @return array
  */
 protected function getParameters(RequestParserInterface $requestParser)
 {
     if (!($parametersProcessor = $this->getParametersProcessor($requestParser->getMethodName()))) {
         return $requestParser->getParameters();
     }
     return $parametersProcessor->getParameters($requestParser->getParameters());
 }
 /**
  * @param RequestParser $requestParser A RequestParser instance with a loaded, valid XML
  * @depends testLoadXmlString
  * @covers \BD\Bundle\XmlRpcBundle\XmlRpc\RequestParser::getParameters
  * @return array Parameters from $requestParser
  */
 public function testGetParameters(RequestParserInterface $requestParser)
 {
     self::assertInternalType('array', $requestParser->getParameters());
     return $requestParser->getParameters();
 }