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;
}