/** * Test that attempting to set the country to a non string valid throws * an exception * * @expectedException \InvalidArgumentException * @covers \OpenWeatherMap\Entity\City::setCountry */ public function testSetCountryThrowsException() { $city = new City(); $city->setCountry(new stdClass()); }