/** * testing getCurrencyList */ public function testGetCurrencyList() { // look if locale is detectable try { $locale = new Locale\Locale(); } catch (Locale\Exception $e) { $this->markTestSkipped('Autodetection of locale failed'); return; } $currency = new Currency\Currency('ar_EG'); $this->assertTrue(in_array('EGP', $currency->getCurrencyList())); }