public void GivenAnInvalidWebsiteShouldNotHaveConnection() { ipMonitor.AddWebsite("Ht:/dwewe"); Assert.IsFalse(ipMonitor.IsConnectionActive()); }
public void ShouldAddOneValidWebsite() { int amntOfWebsites = ipMonitor.GetWebsites().Count; ipMonitor.AddWebsite(WEBSITE1); Assert.AreEqual(amntOfWebsites + 1, ipMonitor.GetWebsites().Count); }