text: ﻿// ------------------------------------------------------------------------------
  //  <auto-generated>
  //      This code was generated by SpecFlow (http://www.specflow.org/).
  //      SpecFlow Version:1.8.1.0
  //      SpecFlow Generator Version:1.8.0.0
  //      Runtime Version:4.0.30319.269
  // 
  //      Changes to this file may cause incorrect behavior and will be lost if
  //      the code is regenerated.
  //  </auto-generated>
  // ------------------------------------------------------------------------------
  #region Designer generated code
  #pragma warning disable
  namespace Conference.Specflow.Features.UserInterface.Controllers.Registration
  {
      using TechTalk.SpecFlow;
      
      
      [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.8.1.0")]
      [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
      public partial class SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature : Xunit.IUseFixture<SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature.FixtureData>, System.IDisposable
      {
          
          private static TechTalk.SpecFlow.ITestRunner testRunner;
          
  #line 1 "SelfRegistrationEndToEndWithControllers.feature"
  #line hidden
          
          public SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature()
          {
              this.TestInitialize();
          }
          
          public static void FeatureSetup()
          {
              testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
              TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Self Registrant end to end scenario for making a Registration for a Conference si" +
                      "te (Implemented using Controllers)", "In order to register for a conference\r\nAs an Attendee\r\nI want to be able to regis" +
                      "ter for the conference, pay for the Registration Order and associate myself with" +
                      " the paid Order automatically", ProgrammingLanguage.CSharp, new string[] {
                          "SelfRegistrationEndToEndWithControllers",
                          "NoWatiN"});
              testRunner.OnFeatureStart(featureInfo);
          }
          
          public static void FeatureTearDown()
          {
              testRunner.OnFeatureEnd();
              testRunner = null;
          }
          
          public virtual void TestInitialize()
          {
          }
          
          public virtual void ScenarioTearDown()
          {
              testRunner.OnScenarioEnd();
          }
          
          public virtual void ScenarioSetup(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
          {
              testRunner.OnScenarioStart(scenarioInfo);
          }
          
          public virtual void ScenarioCleanup()
          {
              testRunner.CollectScenarioErrors();
          }
          
          public virtual void FeatureBackground()
          {
  #line 21
  #line hidden
              TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "rate",
                          "quota"});
              table1.AddRow(new string[] {
                          "General admission",
                          "$199",
                          "100"});
              table1.AddRow(new string[] {
                          "CQRS Workshop",
                          "$500",
                          "100"});
              table1.AddRow(new string[] {
                          "Additional cocktail party",
                          "$50",
                          "100"});
  #line 22
   testRunner.Given("the list of the available Order Items for the CQRS summit 2012 conference", ((string)(null)), table1);
  #line hidden
              TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "quantity"});
              table2.AddRow(new string[] {
                          "General admission",
                          "1"});
              table2.AddRow(new string[] {
                          "Additional cocktail party",
                          "1"});
  #line 27
   testRunner.And("the selected Order Items", ((string)(null)), table2);
  #line hidden
          }
          
          public virtual void SetFixture(SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature.FixtureData fixtureData)
          {
          }
          
          void System.IDisposable.Dispose()
          {
              this.ScenarioTearDown();
          }
          
          [Xunit.FactAttribute()]
          [Xunit.TraitAttribute("FeatureTitle", "Self Registrant end to end scenario for making a Registration for a Conference si" +
              "te (Implemented using Controllers)")]
          [Xunit.TraitAttribute("Description", "End to end Registration implemented using controllers")]
          public virtual void EndToEndRegistrationImplementedUsingControllers()
          {
              TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("End to end Registration implemented using controllers", ((string[])(null)));
  #line 33
  this.ScenarioSetup(scenarioInfo);
  #line 21
  this.FeatureBackground();
  #line 34
   testRunner.Given("the Registrant proceeds to make the Reservation");
  #line hidden
              TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "quantity"});
              table3.AddRow(new string[] {
                          "General admission",
                          "1"});
              table3.AddRow(new string[] {
                          "Additional cocktail party",
                          "1"});
  #line 35
   testRunner.And("these Order Items should be reserved", ((string)(null)), table3);
  #line hidden
              TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type"});
              table4.AddRow(new string[] {
                          "CQRS Workshop"});
  #line 39
   testRunner.And("these Order Items should not be reserved", ((string)(null)), table4);
  #line hidden
              TechTalk.SpecFlow.Table table5 = new TechTalk.SpecFlow.Table(new string[] {
                          "first name",
                          "last name",
                          "email address"});
              table5.AddRow(new string[] {
                          "William",
                          "Flash",
                          "william@fabrikam.com"});
  #line 42
   testRunner.And("the Registrant enters these details", ((string)(null)), table5);
  #line 45
   testRunner.And("the Registrant proceeds to Checkout:Payment");
  #line 46
   testRunner.When("the Registrant proceeds to confirm the payment");
  #line hidden
              TechTalk.SpecFlow.Table table6 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "quantity"});
              table6.AddRow(new string[] {
                          "General admission",
                          "1"});
              table6.AddRow(new string[] {
                          "Additional cocktail party",
                          "1"});
  #line 47
   testRunner.Then("the Order should be created with the following Order Items", ((string)(null)), table6);
  #line hidden
              TechTalk.SpecFlow.Table table7 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "first name",
                          "last name",
                          "email address"});
              table7.AddRow(new string[] {
                          "General admission",
                          "William",
                          "Flash",
                          "william@fabrikam.com"});
              table7.AddRow(new string[] {
                          "Additional cocktail party",
                          "Jim",
                          "Corbin",
                          "jim@litwareinc.com"});
  #line 51
   testRunner.And("the Registrant assigns these seats", ((string)(null)), table7);
  #line hidden
              TechTalk.SpecFlow.Table table8 = new TechTalk.SpecFlow.Table(new string[] {
                          "seat type",
                          "quantity"});
              table8.AddRow(new string[] {
                          "General admission",
                          "1"});
              table8.AddRow(new string[] {
                          "Additional cocktail party",
                          "1"});
  #line 55
   testRunner.And("these seats are assigned", ((string)(null)), table8);
  #line hidden
              this.ScenarioCleanup();
          }
          
          [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.8.1.0")]
          [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
          public class FixtureData : System.IDisposable
          {
              
              public FixtureData()
              {
                  SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature.FeatureSetup();
              }
              
              void System.IDisposable.Dispose()
              {
                  SelfRegistrantEndToEndScenarioForMakingARegistrationForAConferenceSiteImplementedUsingControllersFeature.FeatureTearDown();
              }
          }
      }
  }
  #pragma warning restore
  #endregion
  