Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
        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();
        }