/** * test getCountryTranslation * expected true */ public function testgetCountryTranslation() { set_error_handler(array($this, 'errorHandlerIgnore')); $this->assertEquals('Deutschland', Zend_LocaleTestHelper::getCountryTranslation('DE', 'de_DE')); $this->assertEquals('Germany', Zend_LocaleTestHelper::getCountryTranslation('DE', 'en')); $this->assertFalse(Zend_LocaleTestHelper::getCountryTranslation('xyz')); restore_error_handler(); }