/**
  * Test that attampting to set the max property with a non scalar value
  * results in an exception being thrown
  *
  * @expectedException InvalidArgumentException
  * @covers \OpenWeatherMap\Entity\Temperature::setMax
  */
 public function testSetMaxWithNonScalarThrowsException()
 {
     $temperature = new Temperature();
     $temperature->setMax(new \stdClass());
 }