Agathas.Storefront.Specs.Uat.Features.ApplyingPromotionVouchersFeature.ApplyingAPromotionalVoucherToAValidBasketWhichHasAlreadyHadAVoucherApplied C# (CSharp) Метод

ApplyingAPromotionalVoucherToAValidBasketWhichHasAlreadyHadAVoucherApplied() приватный Метод

        public virtual void ApplyingAPromotionalVoucherToAValidBasketWhichHasAlreadyHadAVoucherApplied()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Applying a promotional voucher to a valid basket, which has already had a voucher" +
                    " applied", ((string[])(null)));
#line 54
this.ScenarioSetup(scenarioInfo);
#line 6
this.FeatureBackground();
#line hidden
            TechTalk.SpecFlow.Table table9 = new TechTalk.SpecFlow.Table(new string[] {
                        "ProductId"});
            table9.AddRow(new string[] {
                        "1"});
            table9.AddRow(new string[] {
                        "2"});
#line 55
 testRunner.Given("I have added the following items to my basket", ((string)(null)), table9);
#line hidden
            TechTalk.SpecFlow.Table table10 = new TechTalk.SpecFlow.Table(new string[] {
                        "VoucherCode"});
            table10.AddRow(new string[] {
                        "XXX-XXX"});
#line 59
 testRunner.When("I apply the promotional voucher", ((string)(null)), table10);
#line 62
 testRunner.Then("the total amount payable on the basket should be £50.15");
#line hidden
            TechTalk.SpecFlow.Table table11 = new TechTalk.SpecFlow.Table(new string[] {
                        "VoucherCode"});
            table11.AddRow(new string[] {
                        "YYY-YYY"});
#line 63
 testRunner.When("I apply the promotional voucher", ((string)(null)), table11);
#line 66
 testRunner.Then("the total amount payable on the basket should be £50.15");
#line hidden
            this.ScenarioCleanup();
        }