Example #1
0
        public async Task GetGeocodingInfo_DtoStatusNotOk_ReturnsNull()
        {
            _messageHandler.SendAsyncReturns(new HttpResponseMessage(HttpStatusCode.OK)
            {
                Content = new StringContent(GetInvaldResult())
            });
            GeocodingInfo result = await _service.GetGeocodingInfoAsync(Factory.GetString(), Factory.GetString(), "no");

            Assert.Null(result);
        }