public void TestSubmitOrder() { var userId = Guid.NewGuid(); Product q = new Product(); Cart cart = new Cart(userId); cart.AddProduct(q, 7); Order order = new Order(userId, cart.Items); Assert.AreEqual(7, order.Items[q.Id]); }
public void SubmitOrder() { var order1 = new Order(UserId, Items); }
public void SubmitOrder() { var order1 = new Order(); }