public void GetResponse_Result_Async() { GeocodingRequest request = new GeocodingRequest("plovdiv bulgaria"); GeocodingResponse response = request.GetResponseAsync(); Assert.IsNotNull(response); Assert.AreEqual(GeocodingResponseStatus.OK, response.Status); }
public async Task GetResponse_Result_Async() { GeocodingRequest request = new GeocodingRequest("plovdiv bulgaria", _context); GeocodingResponse response = await request.GetResponseAsync(); Assert.IsNotNull(response); Assert.AreEqual(GeocodingResponseStatus.OK, response.Status); }