eZ\Publish\Core\REST\Client\Tests\Input\Parser\VersionInfoTest::getParser PHP Method

getParser() protected method

Gets the section parser.
protected getParser ( ) : VersionInfo
return eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo
    protected function getParser()
    {
        $parser = new Input\Parser\VersionInfo(new ParserTools(), $this->getContentServiceMock());
        $parser->setRequestParser($this->getRequestParserMock());
        return $parser;
    }