public void TestWishList() { var customer = new CustomerAction(8); var store = new StoreAction(); customer.AddToWishList(3); customer.AddToWishList(4); customer.AddToWishList(5); var withList = customer.GetWishList(); Assert.IsTrue(withList.Count() > 2); customer.DeleteWishList(3); Assert.IsNull(customer.GetWishList().FirstOrDefault(s => s.id == 3)); customer.ClearWishList(); Assert.IsTrue(customer.GetWishList().Count() == 0); }