function test_get_currency() { $country = new WPSC_Country(self::COUNTRY_ID_WITHOUT_REGIONS); $currency = $country->get_currency(); $this->assertInstanceOf('WPSC_Currency', $currency); $this->assertEquals(self::COUNTRY_NAME_WITHOUT_REGIONS_CURRENCY_CODE, $currency->code); }