eZ\Publish\Core\REST\Server\Tests\Input\Parser\ContentCreateTest::getLocationCreateParserMock PHP Method

getLocationCreateParserMock() private method

Returns the LocationCreate parser mock object.
private getLocationCreateParserMock ( ) : LocationCreate
return eZ\Publish\Core\REST\Server\Input\Parser\LocationCreate
    private function getLocationCreateParserMock()
    {
        $locationCreateParserMock = $this->getMock('\\eZ\\Publish\\Core\\REST\\Server\\Input\\Parser\\LocationCreate', array(), array(), '', false);
        $locationCreateParserMock->expects($this->any())->method('parse')->with(array(), $this->getParsingDispatcherMock())->will($this->returnValue(new LocationCreateStruct()));
        return $locationCreateParserMock;
    }