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