Esempio n. 1
0
        public void SearchForSiteTest()
        {
            // Arrange
            SiteDAL sDAL = new SiteDAL(connectionString);

            //Act
            IList <CampSite> site = sDAL.SearchForSite(1, 1, DateTime.Now.AddDays(4), DateTime.Now.AddDays(8));

            //Assert
            int sites = site.Count;

            Assert.AreEqual(4, sites);
        }