public function testFromRfc2616()
 {
     $locale = CULocale::fromRfc2616("en-us");
     $this->assertTrue($locale->name()->equals("en_US"));
     $locale = CULocale::fromRfc2616("de-de");
     $this->assertTrue($locale->name()->equals("de_DE"));
     $locale = CULocale::fromRfc2616("fr");
     $this->assertTrue($locale->name()->equals("fr"));
     $success;
     $locale = CULocale::fromRfc2616("de_de", $success);
     $this->assertTrue($locale->name()->equals("de_DE") && $success);
     $success;
     $locale = CULocale::fromRfc2616("", $success);
     $this->assertFalse($success);
 }