protected function getPartlyMockedURLAliasServiceService(array $methods = null)
{
$languageServiceMock = $this->getMock('eZ\\Publish\\Core\\Repository\\LanguageService', array(), array(), '', false);
$languageServiceMock->expects($this->once())->method('getPrioritizedLanguageCodeList')->will($this->returnValue(array('eng-GB')));
$this->getRepositoryMock()->expects($this->once())->method('getContentLanguageService')->will($this->returnValue($languageServiceMock));
return $this->getMock('eZ\\Publish\\Core\\Repository\\URLAliasService', $methods, array($this->getRepositoryMock(), $this->getPersistenceMock()->urlAliasHandler()));
}