コード例 #1
0
        public void SearchReservation_Returns_Reservation_Searched()
        {
            // Assert
            int      campgroundId = 144;
            DateTime StartDate    = new DateTime(2019, 1, 1);
            DateTime SeaWallClose = new DateTime(2019, 1, 30);

            IList <Site> newReservation = daoS.SearchReservations(campgroundId, StartDate, SeaWallClose);
            int          theCount       = newReservation.Count;

            Assert.AreEqual(1, theCount);
            Assert.AreNotEqual(2, theCount);
        }