Exemplo n.º 1
0
        public void HttpOperationException_TestMethod_1()
        {
            //Arrange
            WeatherApi client = new WeatherApi("c5976f0996947c1488798209b0bc3f77", "756135", 15);

            //Assert
            Assert.ThrowsException <HttpOperationException>(() => client.GetCurrentWeatherData("AA"));
        }