/**
  * @param $requestParser RequestParserInterface
  * @return array
  */
 protected function getParameters(RequestParserInterface $requestParser)
 {
     if (!($parametersProcessor = $this->getParametersProcessor($requestParser->getMethodName()))) {
         return $requestParser->getParameters();
     }
     return $parametersProcessor->getParameters($requestParser->getParameters());
 }
 /**
  * @depends testLoadXmlString
  * @param RequestParser $requestParser
  */
 public function testGetMethodName(RequestParserInterface $requestParser)
 {
     self::assertEquals('bdxmlrpc.getStuff', $requestParser->getMethodName());
 }