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

FeatureBackground() публичный Метод

public FeatureBackground ( ) : void
Результат void
        public virtual void FeatureBackground()
        {
#line 6
#line hidden
            TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
                        "VoucherCode",
                        "Discount",
                        "Quota",
                        "Scope",
                        "BasketTotalMustMeet"});
            table1.AddRow(new string[] {
                        "XXX-XXX",
                        "5.00",
                        "Unlimited",
                        "HeadGear",
                        "50"});
            table1.AddRow(new string[] {
                        "YYY-YYY",
                        "10.00",
                        "SingleUse",
                        "Clothing",
                        "100"});
            table1.AddRow(new string[] {
                        "ZZZ-ZZZ",
                        "10%",
                        "SingleUse",
                        "All",
                        "0"});
#line 7
 testRunner.Given("the following promotions", ((string)(null)), table1);
#line hidden
            TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] {
                        "ProductId",
                        "Price",
                        "Name",
                        "Category"});
            table2.AddRow(new string[] {
                        "1",
                        "10.50",
                        "Hat",
                        "HeadGear"});
            table2.AddRow(new string[] {
                        "2",
                        "44.65",
                        "Jumper",
                        "Clothing"});
#line 12
 testRunner.And("the following products", ((string)(null)), table2);
#line hidden
        }