public void ListAllSitesUnnamed() { //arrange SiteSqlDAO siteDAO = new SiteSqlDAO(connectionString); //act IList <Site> sites = siteDAO.ListAllSites(7); //assert Assert.AreEqual(5, sites.Count); }
public void ListAllSitesBlackwoods() { //arrange SiteSqlDAO siteDAO = new SiteSqlDAO(connectionString); //act IList <Site> sites = siteDAO.ListAllSites(1); //assert Assert.AreEqual(12, sites.Count); }
public void ListAllSitesJunipers() { //arrange SiteSqlDAO siteDAO = new SiteSqlDAO(connectionString); //act IList <Site> sites = siteDAO.ListAllSites(6); //assert Assert.AreEqual(1, sites.Count); }