public void Test2() { var i = new ItemLogic() { ItemId = 1, ItemName = "Pizza", ItemSize = "Huge" }; var i1 = new ItemLogic() { ItemId = 2, ItemName = "Pizza", ItemSize = "big" }; var m = ItemLogic.AddItem(i); var n = ItemLogic.AddItem(i1); var actual = ItemLogic.DeleteSingleItem(m.ItemId); Assert.True(actual); }