public function testGetByLatLong() { $lat = '12.3'; $long = '45.6'; $this->mockRequester->shouldReceive('makeRequest')->once()->with(array('lat' => $lat, 'lon' => $long, 'units' => 'imperial', 'cnt' => 1)); $this->openWeather->get($lat, $long); }