Пример #1
0
 /**
  * @covers ::getCity
  * @covers ::setCity
  */
 public function testCity()
 {
     $address = new Address();
     $city = $address->getCity();
     $this->assertInstanceOf('Harp\\Locations\\City', $city);
     $this->assertTrue($city->isVoid());
     $city = new City();
     $address->setCity($city);
     $this->assertSame($city, $address->getCity());
 }