示例#1
0
 public void GivenAnInvalidWebsiteShouldNotHaveConnection()
 {
     ipMonitor.AddWebsite("Ht:/dwewe");
     Assert.IsFalse(ipMonitor.IsConnectionActive());
 }
示例#2
0
        public void ShouldAddOneValidWebsite()
        {
            int amntOfWebsites = ipMonitor.GetWebsites().Count;

            ipMonitor.AddWebsite(WEBSITE1);
            Assert.AreEqual(amntOfWebsites + 1, ipMonitor.GetWebsites().Count);
        }