public void ShouldNotRemoveOpenNowIfOpenNowIsNotInDictionary() { RestaurantFilters theFilters = new RestaurantFilters(); theFilters.RemoveOpenNow(); Assert.AreEqual("Query Filters:\n" + "Non Query Filters:\n", theFilters.ToString()); }
public void ShouldRemoveOpenNowIfOpenNowIsLastItemInDictionary() { RestaurantFilters theFilters = new RestaurantFilters(); theFilters.AddLocation("30254"); theFilters.AddRadius("5"); theFilters.AddOpenNow("true"); theFilters.RemoveOpenNow(); Assert.AreEqual("Query Filters:\n" + "location 30254\n" + "radius 5\n" + "Non Query Filters:\n", theFilters.ToString()); }