protected function getLocationHandler()
{
$dbHandler = $this->getDatabaseHandler();
return new Handler($this->locationGateway, $this->locationMapper, $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Handler', array(), array(), '', false), $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\ObjectState\\Handler', array(), array(), '', false), $this->treeHandler);
}