예제 #1
0
 /**
  * @covers \OpenWeatherMap\Entity\Time::getWindDirection
  * @covers \OpenWeatherMap\Entity\Time::setWindDirection
  */
 public function testGetSetWindDirection()
 {
     $windDirection = new WindDirection();
     $time = new Time();
     $this->assertNull($time->getWindDirection());
     $this->assertSame($time, $time->setWindDirection($windDirection));
     $this->assertSame($windDirection, $time->getWindDirection());
 }