function test_get_region_code_by_region_id() { $country = new WPSC_Country(self::COUNTRY_ID_WITH_REGIONS); // USA $region_code = $country->get_region_code_by_region_id(self::REGION_ID); // Oregon $this->assertEquals(self::REGION_CODE, $region_code); $country = new WPSC_Country(self::COUNTRY_ID_WITHOUT_REGIONS); // UK $region_code = $country->get_region_code_by_region_id(self::REGION_ID); // Oregon $this->assertEquals('', $region_code); // @TODO - What should we assert here? }