public void Add_To_Empty_Cart_test() { CartItem cartItem = new CartItem(); Product product1 = new Product("Apple", 100); Product product2 = new Product("Banana", 200); cartItem.AddItem(product1); cartItem.AddItem(product2); Dictionary <Product, int> dictionaryExpected = new Dictionary <Product, int>() { { product1, 1 }, { product2, 1 } }; Assert.Equal(dictionaryExpected, cartItem.ItemList()); }