public void GetWindLatestMonths_Testing_Cache() { //Arrange var fetcher = new WeatherObservation(); //Act (USE DEBUGER TO BE SURE THE SECOND GETPARAMETERS FETCHES FROM CACHE) var fetchWind1 = fetcher.GetWindLatestMonths(71190); var fetchWind2 = fetcher.GetWindLatestMonths(71190); //Assert Assert.AreSame(fetchWind1, fetchWind2); }
public void GetWindLatestMonths_TDD() { //Arrange var fetcher = new WeatherObservation(); //Act var fetchWind = fetcher.GetWindLatestMonths(71190); //Assert Assert.IsNotNull(fetchWind); }