public void DeleteAllLinkmanTest() { Contact testContact = CreateTestContact(); contactServices.SaveLinkman(testContact.SysNo, testContact.UserId, testContact.Linkmans[0]); _LinkMans.Add(testContact.Linkmans[0]); contactServices.DeleteAllLinkman(testContact.SysNo, testContact.UserId); Contact GetMan = contactServices.LoadAllContact(testContact.SysNo, testContact.UserId, true); Assert.AreEqual(0, GetMan.Linkmans.Count); }