$this->
assertSame('GMT+5:45', Timezones::
getGmtOffset('Asia/Katmandu', null, 'cs'
));
} public function testGetCountryCode() { $this->
assertSame('NL', Timezones::
getCountryCode('Europe/Amsterdam'
));
$this->
assertSame('US', Timezones::
getCountryCode('America/New_York'
));
} public function testForCountryCode() { $this->
assertSame(['Europe/Amsterdam'
], Timezones::
forCountryCode('NL'
));
$this->
assertSame(['Europe/Berlin', 'Europe/Busingen'
], Timezones::
forCountryCode('DE'
));
} public function testForCountryCodeWithUnknownCountry() { $this->
expectException(MissingResourceException::
class);
Timezones::
forCountryCode('foobar'
);
} public function testForCountryCodeWithWrongCountryCode() {