public function testSetLocale() { IntlCarbon::setLocale('en'); $this->assertSame('en', IntlCarbon::getLocale()); IntlCarbon::setLocale('fr'); $this->assertSame('fr', IntlCarbon::getLocale()); }