Exemplo n.º 1
0
        public void GetResponse_Result_Async()
        {
            GeocodingRequest  request  = new GeocodingRequest("plovdiv bulgaria");
            GeocodingResponse response = request.GetResponseAsync();

            Assert.IsNotNull(response);
            Assert.AreEqual(GeocodingResponseStatus.OK, response.Status);
        }
Exemplo n.º 2
0
        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);
        }