Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void RemoveItem() { var sut = new TestAggregate(100); sut.AddItem("Description", 1, 10.00, true); sut.RemoveItem(1); Assert.AreEqual(3, sut.Events.Count, "Events"); Assert.AreEqual(3, sut.Version, "Version"); Assert.AreEqual(0, sut.Items.Count, "Items"); }