/** * @depends testWhetherSplitLocaleCodeSplitsValidLocalesCorrectly */ public function testWhetherSplitLocaleCodeReturnsTheDefaultLocaleWhenGivenCAsLocale() { $cLocaleObj = Translator::splitLocaleCode('C'); $defaultLocaleObj = Translator::splitLocaleCode(Translator::DEFAULT_LOCALE); $this->assertEquals($defaultLocaleObj->language, $cLocaleObj->language, 'Translator::splitLocaleCode does not return the default language code when given C as locale'); $this->assertEquals($defaultLocaleObj->country, $cLocaleObj->country, 'Translator::splitLocaleCode does not return the default country code when given C as locale'); }