public void DeletionTest() { mailItemProperties.Add(MailItemPropertyElement.TRASH); mailItemProperties.Remove(MailItemPropertyElement.TRASH); Assert.IsTrue(mailItemProperties.Count == 0, "Mail item property collection should be empty after singleton element is removed"); }
public void DeletionTest() { LabelElement label = new LabelElement("Friends"); labels.Add(label); labels.Remove(label); Assert.IsTrue(labels.Count == 0, "Label collection should be empty after singleton element is removed"); }