public function testSetGetCountry() { $location = new Location(); $location->setCountry('GB', 'Great Britain'); $this->assertSame('GB', $location->getCountryCode()); $this->assertSame('Great Britain', $location->getCountryName()); }