Example #1
0
        public void OrderService_PlaceOrder_OrderSummaryReturned()
        {
            //Arrange
            var order = Get_Order_WithoutDuplicates();

            _productRepo.AllItemsAreStocked();
            _orderFulfillment.SetOrderFullfillmentReturn(order);

            //Act
            var orderSummary = _sut.PlaceOrder(order);

            //Assert
            orderSummary.ShouldNotBeNull();
        }