public void TestViewAllUpcomingReservations() { //Arrange ReservationSqlDAO dao = new ReservationSqlDAO(connectionString); Reservation reservation = dao.MakeReservation(10, newCampgroundId, "Fries Island", Convert.ToDateTime("02/29/2020"), Convert.ToDateTime("03/01/2020")); //Act IList <Reservation> reservations = dao.ViewAllUpcomingReservations(DateTime.Now, Convert.ToDateTime("03/01/2020")); //int i = 0; //for (; i < reservations.Count; i++) //{ // if (reservations[i].ReservationId == newReservationId) // { // break; // } //} //Assert Assert.AreEqual(Convert.ToDateTime("03/01/2020"), reservations[reservations.Count - 1].EndDate); }