示例#1
0
        public override void Setup()
        {
            base.Setup();
            useCase_addProduct = new UseCase_AddProductToShop(SystemContext, ShopImage);
            useCase_addProduct.Setup();
            useCase_addProduct.Success_Normal_NoCheckStoreProducts();

            new UseCase_LogOut_TestLogic(SystemContext).Success_Normal();
            testLogic = new UseCase_ViewShopProducts_TestLogic(SystemContext);
        }
示例#2
0
 public override void Setup()
 {
     base.Setup();
     useCase_addProductToShop = new UseCase_AddProductToShop(SystemContext, ShopImage);
     useCase_addProductToShop.Setup();
     useCase_addProductToShop.Success_Normal_CheckStoreProducts();
     useCase_AddProductToCart_TestLogic_1          = AddProductsToCart(BuyerUser, GetTestProductEnumerable(60));
     useCase_AddProductToCart_TestLogic_2          = AddProductsToCart(BuyerUser2, GetTestProductEnumerable(60));
     useCase_AddProductToCart_TestLogic_competitor = AddProductsToCart(CompetitorUser, GetTestProductEnumerable(81));
     new UseCase_LogOut_TestLogic(SystemContext).Success_Normal();
 }
示例#3
0
        public override void Setup()
        {
            base.Setup();

            ProductsTeardown = new List <ProductId>();

            useCase_addProduct = new UseCase_AddProductToShop(SystemContext, ShopImage);
            useCase_addProduct.Setup();
            useCase_addProduct.Success_Normal_CheckStoreProducts();

            testLogic = new UseCase_AddProductToCart_TestLogic(SystemContext, UserInfo);
            testLogic.Setup();
        }