public void ProhibitInterfaceTest()
 {
     using (var parameters = new NWParameters())
     {
         Assert.Throws <ArgumentNullException> (() => parameters.ProhibitInterface(null), "");
         Assert.AreNotEqual(0, interfaces.Count, "No network interfaces found.");
         parameters.ProhibitInterface(interfaces[0]);
     }
 }