public override void FixtureSetup() { base.FixtureSetup(); AutoMapper.Mapper.CreateMap <IValidatableAddress, TaxAddress>(); AvaTaxService = new AvaTaxService(TestHelper.GetAvaTaxProviderSettings()); SqlSyntaxProviderTestHelper.EstablishSqlSyntax(); DataWorker = new DbPreTestDataWorker(new ServiceContext(new PetaPocoUnitOfWorkProvider())); MakeInvoice(); }
public override void FixtureSetup() { base.FixtureSetup(); AutoMapper.Mapper.CreateMap<IValidatableAddress, TaxAddress>(); AvaTaxService = new AvaTaxService(TestHelper.GetAvaTaxProviderSettings()); SqlSyntaxProviderTestHelper.EstablishSqlSyntax(); DataWorker = new DbPreTestDataWorker(new ServiceContext(new PetaPocoUnitOfWorkProvider())); MakeInvoice(); }
public override void FixtureSetup() { base.FixtureSetup(); AutoMapper.Mapper.CreateMap <IValidatableAddress, TaxAddress>(); AvaTaxService = new AvaTaxService(TestHelper.GetAvaTaxProviderSettings()); SqlSyntaxProviderTestHelper.EstablishSqlSyntax(); var cacheProvider = new Mock <IRuntimeCacheProvider>(); //GatewayProviderService = new GatewayProviderService(); MakeInvoice(); }
public override void FixtureSetup() { base.FixtureSetup(); AutoMapper.Mapper.CreateMap<IValidatableAddress, TaxAddress>(); AvaTaxService = new AvaTaxService(TestHelper.GetAvaTaxProviderSettings()); SqlSyntaxProviderTestHelper.EstablishSqlSyntax(); var cacheProvider = new Mock<IRuntimeCacheProvider>(); //GatewayProviderService = new GatewayProviderService(); MakeInvoice(); }