public async Task WeatherService_WhenGetByByLatLon_MustBeReturnWeather() { //Arrange var httpClient = new Mock <HttpClient>(); var service = new OpenWeatherService(httpClient.Object, _options, _weatherRepository, _mediatorHandler); //Act var response = await service.GetTemperatureByLatLon(-17.7311, -49.0994); //Assert Assert.NotNull(response); Assert.Equal("Morrinhos", response?.Name); }