public void CanRemoveAssemblies() { assemblies.Add(path1); assemblies.Add(path2); assemblies.Add(path3); assemblies.Remove(path2); Assert.AreEqual(2, assemblies.Count); Assert.AreEqual(path1, assemblies[0]); Assert.AreEqual(path3, assemblies[1]); }
public void CanRemoveAssemblies() { assemblies.Add(@"C:\tests\bin\debug\assembly1.dll"); assemblies.Add(@"C:\tests\bin\debug\assembly2.dll"); assemblies.Add(@"C:\tests\bin\debug\assembly3.dll"); assemblies.Remove(@"C:\tests\bin\debug\assembly2.dll"); Assert.AreEqual(2, assemblies.Count); Assert.AreEqual(@"C:\tests\bin\debug\assembly1.dll", assemblies[0].FullPath); Assert.AreEqual(@"C:\tests\bin\debug\assembly3.dll", assemblies[1].FullPath); }