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