コード例 #1
0
        public virtual void TestFixtureSetup()
        {
            TestCustomer = MerchelloContext.Current.Services.CustomerService.CreateCustomerWithKey(
                Guid.NewGuid().ToString(),
                "first",
                "last",
                "*****@*****.**");

            BraintreeProviderSettings = TestHelper.GetBraintreeProviderSettings();

            AutoMapperMappings.CreateMappings();

            Gateway = BraintreeProviderSettings.AsBraintreeGateway();

            BraintreeApiService = new BraintreeApiService(BraintreeProviderSettings);

        }