/** * @covers \OpenWeatherMap\Entity\WindDirection::setValue */ public function testSetValueThrowsException() { $value = new stdClass(); $windDirection = new WindDirection(); $this->setExpectedException('\\InvalidArgumentException'); $windDirection->setValue($value); }