protected function getParser() { $parser = new Input\Parser\VersionInfo(new ParserTools(), $this->getContentServiceMock()); $parser->setRequestParser($this->getRequestParserMock()); return $parser; }