/** * Test that attempting to set the value with an array results * in an exception being thrown * * @expectedException InvalidArgumentException * @covers \OpenWeatherMap\Entity\Temperature::setValue */ public function testSetValueWithArrayThrowsException() { $temperature = new Temperature(); $temperature->setValue(array()); }