public void DeleteAllItemsInCart() { // Arrange Item item3 = Consume.AddItemToCart(3, 1); Assert.NotNull(item3); Item item4 = Consume.AddItemToCart(4, 1); Assert.NotNull(item4); List <Item> items = Consume.GetCartItems(); Assert.False(!items.Any()); // Act Consume.DeleteAllItemsInCart(); // Assert List <Item> i = Consume.GetCartItems(); bool isEmpty = !i.Any(); Assert.True(isEmpty); }