/** * test getOrder * expected true */ public function testgetOrder() { LocaleTestHelper::setDefault('de'); $value = new LocaleTestHelper(); $default = $value->getOrder(); $this->assertTrue(array_key_exists('de', $default)); $default = $value->getOrder(Locale::BROWSER); $this->assertTrue(is_array($default)); $default = $value->getOrder(Locale::ENVIRONMENT); $this->assertTrue(is_array($default)); $default = $value->getOrder(Locale::ZFDEFAULT); $this->assertTrue(is_array($default)); }