Пример #1
0
 public void GoShopping()
 {
     BuyPhone.Run(this.Context);
     BuyFridgeAndWarranty.Run(this.Context);
     BuyAllDigitals.Run(this.Context, 1);
     BuyGameSystemAndSubscription.Run(this.Context);
     BuyCameraAndGiftWrap.Run(this.Context);
 }
        private static void BuyOneOfEach(ShopperContext context)
        {
            using (new SampleMethodScope())
            {
                var orderId = BuyAllDigitals.Run(context, 1);
                orderId.Should().NotBeNull();

                RunMinions(context);

                var order = ValidateOrder(context, orderId);
                ValidateEntitlements(context, order, null, 4);
            }
        }