public void AddItem_Correctness() { var item = new Item { Name = "a name" }; var debt = new Debt(); Assert.IsNull(debt.Items); debt.AddItem(item); Assert.AreEqual(debt.Items.Count, 1); Assert.AreEqual(debt.Items[0], item); }