public function testVariants() { $locale = new CULocale("de_DE_VARIANT"); $this->assertTrue($locale->variants()->equals(a("VARIANT"))); $locale = new CULocale("de_DE_VARIANT0_VARIANT1"); $this->assertTrue($locale->variants()->equals(a("VARIANT0", "VARIANT1"))); }