public void ClearItemsFromCart() { var newOrderID = _cartController.CreateCart(customer1.ID); _cartController.AddToCart(newOrderID, item1.ID, 10); _cartController.AddToCart(newOrderID, item2.ID, 10); _cartController.ClearCart(newOrderID); Assert.AreEqual(0, _fakeRepository.Orders.Single(o => o.ID == newOrderID).Items.Count); }