public function testReverseLookupThrowsNotFoundException()
{
$mockedService = $this->getPartlyMockedURLAliasServiceService(array('listLocationAliases'));
$configuration = array('prioritizedLanguageList' => array('ger-DE'), 'showAllTranslations' => false);
$this->setConfiguration($mockedService, $configuration);
$languageCode = 'eng-GB';
$location = $this->getLocationStub();
$mockedService->expects($this->once())->method('listLocationAliases')->with($this->equalTo($location), $this->equalTo(false), $this->equalTo($languageCode))->will($this->returnValue(array(new UrlAlias(array('languageCodes' => array('eng-GB'), 'alwaysAvailable' => false)))));
$mockedService->reverseLookup($location, $languageCode);
}