public void TestDeleteMethod() { OrdersList ol = new OrdersList(); Order o = new Order(); ol.AddOrder(o); ol.DeleteOrder(o); Assert.AreEqual(ol.orders.Count, 0); }