Ejemplo n.º 1
0
 public function testHasRegions()
 {
     $country = new Country('iso2Code');
     $region = new Region('combinedCode');
     $this->assertFalse($country->hasRegions());
     $country->addRegion($region);
     $this->assertTrue($country->hasRegions());
 }