public void IterateInterfacesTest() { // clean interfaces from setup foreach (var i in interfaces) { i.Dispose(); } interfaces = new List <NWInterface> (); path.EnumerateInterfaces(EnumerateInterfacesHandler); Assert.That(interfaces.Count, Is.GreaterThan(0), "interfaces.Count"); }
public void SetUp() { path = connection.CurrentPath; path.EnumerateInterfaces(EnumerateInterfacesHandler); Assert.That(interfaces.Count, Is.GreaterThan(0), "interfaces.Count"); }