public testDecomposeFail ( ) |
public function testDecomposeFail()
{
$this->assertException('/.*/', function () {
Locale::decompose('deee_DE');
});
$this->assertException('/.*/', function () {
Locale::decompose('ZH-HANS-HK_REVISED_INVALID');
});
}