public ProductFixture() : base() { this.ProductsToDelete = new List <Product>(); this.productTypeFixture = new ProductTypeFixture(); this.CategoryFixture = new CategoryFixture(); this.taxCategoryFixture = new TaxCategoryFixture(); }
public ProductFixture(ServiceProviderFixture serviceProviderFixture) : base(serviceProviderFixture) { this.ProductsToDelete = new List <Product>(); this.productTypeFixture = new ProductTypeFixture(serviceProviderFixture); this.categoryFixture = new CategoryFixture(serviceProviderFixture); this.taxCategoryFixture = new TaxCategoryFixture(serviceProviderFixture); this.typeFixture = new TypeFixture(serviceProviderFixture); this.statesFixture = new StatesFixture(serviceProviderFixture); }
public CartFixture(ServiceProviderFixture serviceProviderFixture) : base(serviceProviderFixture) { this.CartToDelete = new List <Cart>(); this.customerFixture = new CustomerFixture(serviceProviderFixture); this.productFixture = new ProductFixture(serviceProviderFixture); this.shippingMethodsFixture = new ShippingMethodsFixture(serviceProviderFixture); this.taxCategoryFixture = new TaxCategoryFixture(serviceProviderFixture); this.discountCodeFixture = new DiscountCodeFixture(serviceProviderFixture); this.customerGroupFixture = new CustomerGroupFixture(serviceProviderFixture); this.typeFixture = new TypeFixture(serviceProviderFixture); this.shoppingListFixture = new ShoppingListFixture(serviceProviderFixture); this.paymentsFixture = new PaymentsFixture(serviceProviderFixture); this.projectFixture = new ProjectFixture(serviceProviderFixture); }
public ProductProjectionSearchFixture(IMessageSink diagnosticMessageSink) { //create serviceProviderFixture Instance this.serviceProviderFixture = new ServiceProviderFixture(diagnosticMessageSink); this.productFixture = new ProductFixture(this.serviceProviderFixture); this.projectFixture = new ProjectFixture(this.serviceProviderFixture); this.categoryFixture = new CategoryFixture(this.serviceProviderFixture); this.productTypeFixture = new ProductTypeFixture(this.serviceProviderFixture); this.taxCategoryFixture = new TaxCategoryFixture(this.serviceProviderFixture); this.stateFixture = new StatesFixture(this.serviceProviderFixture); this.inventoryFixture = new InventoryFixture(this.serviceProviderFixture); this.channelFixture = new ChannelFixture(this.serviceProviderFixture); this.productDiscountsFixture = new ProductDiscountsFixture(this.serviceProviderFixture); this.reviewFixture = new ReviewFixture(this.serviceProviderFixture); this.randomInt = TestingUtility.RandomInt(); //Configure and Create all entities before running tests this.ConfigureAndCreateEntitiesBeforeRunningTests(); }
public ShippingMethodsFixture(ServiceProviderFixture serviceProviderFixture) : base(serviceProviderFixture) { this.ShippingMethodsToDelete = new List <ShippingMethod>(); this.taxCategoryFixture = new TaxCategoryFixture(serviceProviderFixture); this.zonesFixture = new ZonesFixture(serviceProviderFixture); }
public ShippingMethodsFixture() : base() { this.ShippingMethodsToDelete = new List <ShippingMethod>(); this.taxCategoryFixture = new TaxCategoryFixture(); this.zonesFixture = new ZonesFixture(); }