/** * @expectedException Symfony\Component\Locale\Exception\MethodNotImplementedException */ public function testComposeLocale() { $subtags = array('language' => 'pt', 'script' => 'Latn', 'region' => 'BR'); StubLocale::composeLocale($subtags); }