/** * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testGetDisplayLanguage() { StubLocale::getDisplayLanguage('pt-Latn-BR', 'en'); }