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); }
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(); }
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(); }