public function testEquals() { $locale0 = new CULocale("de_DE"); $locale1 = new CULocale("de_de"); $this->assertTrue($locale0->equals($locale1)); $locale0 = new CULocale("de_DE"); $locale1 = new CULocale("de_BE"); $this->assertFalse($locale0->equals($locale1)); $locale0 = new CULocale("de_DE"); $locale1 = new CULocale("de_Latn_DE"); $this->assertFalse($locale0->equals($locale1)); }