public void AddWorkItems_Should_AddSuccessfully() { var feedback = new FakeFeedback(); var member = new Member("Bruce"); member.AddWorkItems(feedback); Assert.IsTrue(member.WorkItems.Contains(feedback)); }
public void RemoveWorkItemsShould_RemovedItem() { var feedback = new FakeFeedback(); var member = new Member("Bruce"); member.AddWorkItems(feedback); member.RemoveWorkItems(feedback); Assert.AreEqual(member.WorkItems.Count, 0); }