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

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

private RemovingAPromotionalVoucherAfterApplyingItToAValidBasket ( ) : void
Результат void
        public virtual void RemovingAPromotionalVoucherAfterApplyingItToAValidBasket()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Removing a promotional voucher after applying it to a valid basket", ((string[])(null)));
#line 70
this.ScenarioSetup(scenarioInfo);
#line 6
this.FeatureBackground();
#line hidden
            TechTalk.SpecFlow.Table table12 = new TechTalk.SpecFlow.Table(new string[] {
                        "ProductId"});
            table12.AddRow(new string[] {
                        "1"});
            table12.AddRow(new string[] {
                        "2"});
#line 71
 testRunner.Given("I have added the following items to my basket", ((string)(null)), table12);
#line hidden
            TechTalk.SpecFlow.Table table13 = new TechTalk.SpecFlow.Table(new string[] {
                        "VoucherCode"});
            table13.AddRow(new string[] {
                        "XXX-XXX"});
#line 75
 testRunner.When("I apply the promotional voucher", ((string)(null)), table13);
#line 78
 testRunner.Then("the total amount payable on the basket should be £50.15");
#line hidden
            TechTalk.SpecFlow.Table table14 = new TechTalk.SpecFlow.Table(new string[] {
                        "VoucherCode"});
            table14.AddRow(new string[] {
                        "XXX-XXX"});
#line 79
 testRunner.When("I remove the promotional voucher", ((string)(null)), table14);
#line 82
 testRunner.Then("the total amount payable on the basket should be £55.15");
#line hidden
            this.ScenarioCleanup();
        }
    }