public void CanSearchOnCity() { var repo = new ListingsRepositoryDapper(); var found = repo.ListingSearch(new ListingSearchParameters { City = "Cleveland" }); Assert.AreEqual(6, found.Count()); }
public void CanSearchOnRange() { var repo = new ListingsRepositoryDapper(); var found = repo.ListingSearch(new ListingSearchParameters { MaxRate = 120M, MinRate = 100M }); Assert.AreEqual(3, found.Count()); }