public override void Setup()
        {
            base.Setup();

            ProductsAdditionalTeardown = new List <ProductInCart>();
            useCase_addProductToCart   = new UseCase_AddProductToCart
                                         (
                SystemContext,
                UserInfo,
                ShopImage,
                ProductsProviderAdd
                                         );
            useCase_addProductToCart.Setup();
            useCase_addProductToCart.Success_NoBasket();
        }
コード例 #2
0
        public override void Setup()
        {
            base.Setup();

            useCase_addProductToCart = new UseCase_AddProductToCart
                                       (
                SystemContext,
                UserInfo,
                ShopImage,
                ProductsProviderAdd
                                       );
            useCase_addProductToCart.Setup();
            useCase_addProductToCart.Success_NoBasket();
            testLogic = new UseCase_RemoveProductFromCart_TestLogic
                        (
                SystemContext,
                ProductsRemove,
                useCase_addProductToCart.ProductsAdd
                        );
        }