public void GetOUTest() { ADManager target = new ADManager(); string domainname = "VISGS15"; List <string> expected = new List <string>(); expected.Add("VisSimLabor.Pool.Computer.VIS(US)"); expected.Add("Pool.Computer.VIS(US)"); expected.Add("Computer.VIS(US)"); expected.Add("VIS(US)"); expected.Reverse(); List <string> actual; actual = target.GetOU(domainname); Assert.AreEqual(expected, actual); }