/** * @covers \OpenWeatherMap\Entity\WindDirection::getDeg * @covers \OpenWeatherMap\Entity\WindDirection::setDeg */ public function testGetSetDeg() { $deg = "182.503"; $windDirection = new WindDirection(); $this->assertNull($windDirection->getDeg()); $this->assertSame($windDirection, $windDirection->setDeg($deg)); $this->assertEquals($deg, $windDirection->getDeg()); }