public function test_of_Locale() { $loc1 = DecimalStyle::of(Locale::CANADA()); $this->assertEquals($loc1->getZeroDigit(), '0'); $this->assertEquals($loc1->getPositiveSign(), '+'); $this->assertEquals($loc1->getNegativeSign(), '-'); $this->assertEquals($loc1->getDecimalSeparator(), '.'); }