Пример #1
0
 /**
  * Test that we can get and set the Coord value
  *
  * @covers \OpenWeatherMap\Entity\City::getCoord
  * @covers \OpenWeatherMap\Entity\City::setCoord
  */
 public function testGetSetCoord()
 {
     $coord = new Coord();
     $city = new City();
     $this->assertNull($city->getCoord());
     $this->assertSame($city, $city->setCoord($coord));
     $this->assertSame($coord, $city->getCoord());
 }