Exemplo n.º 1
0
 public function testLocationByPosition()
 {
     $Location = new Location();
     $Location->setPosition(49.9, 7.77);
     $Forecast = new Forecast(new Openweathermap(), $Location);
     $object = $Forecast->object();
     if ($object->isEmpty()) {
         $this->markTestSkipped('Openweathermap: Position "49,9, 7.77" was not available.');
     }
 }