Example #1
0
        public void AddOrUpdateCart_GivenANewCustomerOrder_AddsToCarts()
        {
            // arrange
            Order order = new Order()
            {
                ID = 159357
            };

            // act
            orderClient.AddOrUpdateCart("951", order);

            // assert
            var actual = orderClient.GetCart("951");

            Assert.AreEqual(order.ID, actual.ID);
        }