public void getAllCampgroundsTest() { CampgroundSqlDAO campgroundSqlDAO = new CampgroundSqlDAO(connectionString); IList <Campground> campgrounds = campgroundSqlDAO.GetCampgroundsByPark(0); Assert.IsTrue(campgrounds.Count > 0); }
public void GetCampgroundsByParkTest() { //Arrange CampgroundSqlDAO dao = new CampgroundSqlDAO(ConnectionString); //Assert IList <Campground> campGrounds = dao.GetCampgroundsByPark(TwinPeaksParkId); //Act Assert.AreEqual(2, campGrounds.Count); }