Example #1
0
        public void AddCosmosConfiguration()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Add cosmos configuration", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 30
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 10
                this.FeatureBackground();
#line hidden
#line 31
                testRunner.Given("I have configuration called \'FooBar config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table11 = new TechTalk.SpecFlow.Table(new string[] {
                    "Definition - Database",
                    "Definition - Container",
                    "Configuration - Account Uri",
                    "Configuration - Database",
                    "Configuration - Container"
                });
                table11.AddRow(new string[] {
                    "foo",
                    "bar",
                    "cosmosaccount",
                    "db",
                    "container"
                });
#line 32
                testRunner.And("the configuration called \'FooBar config\' contains the following Cosmos configurat" +
                               "ion items", ((string)(null)), table11, "And ");
#line hidden
#line 35
                testRunner.When("I use the tenant store with the configuration called \'FooBar config\' to add confi" +
                                "g for the tenant called \'Contoso\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 36
                testRunner.Then("the tenant called \'Contoso\' should contain Cosmos configuration for a Cosmos cont" +
                                "ainer definition with database name \'foo\' and container name \'bar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void BasicEnrollmentWithConfiguration()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Basic enrollment with configuration", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 30
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 31
                testRunner.Given("I have enrollment configuration called \'FooBar config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table14 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Container"
                });
                table14.AddRow(new string[] {
                    "fooBarStore",
                    "blobaccount",
                    "blobcontainer"
                });
#line 32
                testRunner.And("the enrollment configuration called \'FooBar config\' contains the following Blob S" +
                               "torage configuration items", ((string)(null)), table14, "And ");
#line hidden
#line 35
                testRunner.When("I use the tenant store with the enrollment configuration called \'FooBar config\' t" +
                                "o enroll the tenant called \'Litware\' in the service called \'FooBar v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 36
                testRunner.Then("the tenant called \'Litware\' should have the id of the tenant called \'FooBar v1\' a" +
                                "dded to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 37
                testRunner.And("the tenant called \'Litware\' should contain blob storage configuration for a blob " +
                               "storage container definition with container name \'foobar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #3
0
        public void CreateANewServiceTenantThatHasADependency()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create a new service tenant that has a dependency", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 37
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 38
                testRunner.Given("the tenancy provider has been initialised for use with Marain", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 39
                testRunner.When("I use the tenant store to create a new service tenant with manifest \'Operations M" +
                                "anifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 40
                testRunner.And("I use the tenant store to create a new service tenant with manifest \'Workflow Man" +
                               "ifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 41
                testRunner.Then("there is a service tenant with Id \'3633754ac4c9be44b55bfe791b1780f12429524fe7b6cc" +
                                "48a265a307407ec858\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 42
                testRunner.And("the tenant with Id \'3633754ac4c9be44b55bfe791b1780f12429524fe7b6cc48a265a307407ec" +
                               "858\' is called \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 43
                testRunner.And("there is a service tenant with Id \'3633754ac4c9be44b55bfe791b1780f177b46486033477" +
                               "4cabb2f9d1b95b0c18\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 44
                testRunner.And("the tenant with Id \'3633754ac4c9be44b55bfe791b1780f177b464860334774cabb2f9d1b95b0" +
                               "c18\' is called \'Workflow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void WellKnownTenantGUIDIsAlreadyInUse()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Well known tenant GUID is already in use", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 23
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 24
                testRunner.Given("I have a service manifest called \'Operations Manifest\' for a service called \'Oper" +
                                 "ations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 25
                testRunner.And("the well-known tenant Guid for the manifest called \'Operations Manifest\' is \'085f" +
                               "50fa-5006-4fca-aac1-cf1f74b0198e\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 26
                testRunner.Given("I have a service manifest called \'Operations Manifest 2\' for a service called \'Op" +
                                 "erations v2\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 27
                testRunner.And("the well-known tenant Guid for the manifest called \'Operations Manifest 2\' is \'08" +
                               "5f50fa-5006-4fca-aac1-cf1f74b0198e\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 28
                testRunner.And("I have used the tenant store to create a service tenant with manifest \'Operations" +
                               " Manifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 29
                testRunner.When("I validate the service manifest called \'Operations Manifest 2\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 30
                testRunner.Then("an \'InvalidServiceManifestException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void ManifestWithMultipleConfigurationItems()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Manifest with multiple configuration items", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 32
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 33
                testRunner.When("I deserialize the manifest called \'ManifestWithMultipleConfigurationItems\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 34
                testRunner.Then("the resulting manifest should have the service name \'Manifest with multiple confi" +
                                "guration items\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 35
                testRunner.And("the resulting manifest should have a well known service GUID of \'ba80b530-20c6-4c" +
                               "78-ab18-8ac70cb4db9e\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 36
                testRunner.And("the resulting manifest should not have any dependencies", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 37
                testRunner.And("the resulting manifest should have 3 required configuration entries", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 38
                testRunner.And("the configuration item with index 0 should be of type \'ServiceManifestBlobStorage" +
                               "ConfigurationEntry\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 39
                testRunner.And("the configuration item with index 1 should be of type \'ServiceManifestCosmosDbCon" +
                               "figurationEntry\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 40
                testRunner.And("the configuration item with index 2 should be of type \'ServiceManifestTableStorag" +
                               "eConfigurationEntry\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #6
0
        public void AddBlobStorageConfiguration()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Add blob storage configuration", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 14
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 10
                this.FeatureBackground();
#line hidden
#line 15
                testRunner.Given("I have configuration called \'FooBar config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table9 = new TechTalk.SpecFlow.Table(new string[] {
                    "Definition - Container",
                    "Configuration - Account Name",
                    "Configuration - Container"
                });
                table9.AddRow(new string[] {
                    "foo",
                    "blobaccount",
                    "blobcontainer"
                });
#line 16
                testRunner.And("the configuration called \'FooBar config\' contains the following Blob Storage conf" +
                               "iguration items", ((string)(null)), table9, "And ");
#line hidden
#line 19
                testRunner.When("I use the tenant store with the configuration called \'FooBar config\' to add confi" +
                                "g for the tenant called \'Contoso\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 20
                testRunner.Then("the tenant called \'Contoso\' should contain blob storage configuration for a blob " +
                                "storage container definition with container name \'foo\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void DependentServiceDoesNotExist()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Dependent service does not exist", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 50
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 51
                testRunner.Given("I have a service manifest called \'Workflow Manifest\' for a service called \'Workfl" +
                                 "ow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
                    "Service Id",
                    "Expected Name"
                });
                table1.AddRow(new string[] {
                    "3633754ac4c9be44b55bfe791b1780f12429524fe7b6cc48a265a307407ec858",
                    ""
                });
#line 52
                testRunner.And("the service manifest called \'Workflow Manifest\' has the following dependencies", ((string)(null)), table1, "And ");
#line hidden
#line 55
                testRunner.When("I validate the service manifest called \'Workflow Manifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 56
                testRunner.Then("an \'InvalidServiceManifestException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void IfTheUserIs50YearsOldAndHaveIncomeVehiclesHouseSheIsEconomicForAllLinesInsurance(string years, string income, string vehicleYears, string ownershipStatus, string linesInsurance, string[] exampleTags)
        {
            string[] tagsOfScenario = exampleTags;
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            argumentsOfScenario.Add("Years", years);
            argumentsOfScenario.Add("Income", income);
            argumentsOfScenario.Add("VehicleYears", vehicleYears);
            argumentsOfScenario.Add("OwnershipStatus", ownershipStatus);
            argumentsOfScenario.Add("LinesInsurance", linesInsurance);
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("If the user is 50 years old and have income, vehicles, house, she is economic for" +
                                                                                             " all lines insurance", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 123
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 124
                testRunner.Given(string.Format("user is {0} years old", years), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 125
                testRunner.And(string.Format("user income is {0}", income), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 126
                testRunner.And(string.Format("user has vehicle {0}", vehicleYears), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 127
                testRunner.And(string.Format("user has {0} house", ownershipStatus), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 128
                testRunner.When("the risk profile is calculated", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 129
                testRunner.Then(string.Format("{0} insurance is economic", linesInsurance), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #9
0
        public void InitialiseAnEmptyTenancyProvider()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Initialise an empty tenancy provider", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 9
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 10
                testRunner.Given("No tenants have been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 11
                testRunner.When("I use the tenant store to initialise the tenancy provider", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 12
                testRunner.Then("the tenancy provider contains 2 tenants as children of the root tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 13
                testRunner.And("there is a tenant with Id \'75b9261673c2714681f14c97bc0439fb\' as a child of the ro" +
                               "ot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 14
                testRunner.And("the tenant with Id \'75b9261673c2714681f14c97bc0439fb\' is called \'Client Tenants\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 15
                testRunner.And("there is a tenant with Id \'3633754ac4c9be44b55bfe791b1780f1\' as a child of the ro" +
                               "ot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 16
                testRunner.And("the tenant with Id \'3633754ac4c9be44b55bfe791b1780f1\' is called \'Service Tenants\'" +
                               "", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void ManifestWithDependencies()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Manifest with dependencies", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 15
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 16
                testRunner.When("I deserialize the manifest called \'ManifestWithDependencies\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 17
                testRunner.Then("the resulting manifest should have the service name \'Manifest with dependencies\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 18
                testRunner.And("the resulting manifest should have a well known service GUID of \'31b74bd9-b45d-44" +
                               "02-81cf-13fc6f680a85\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 19
                testRunner.And("the resulting manifest should have 2 dependencies", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 20
                testRunner.And("the resulting manifest should have a dependency with Id \'3633754ac4c9be44b55bfe79" +
                               "1b1780f12429524fe7b6cc48a265a307407ec858\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 21
                testRunner.And("the resulting manifest should have a dependency with Id \'3633754ac4c9be44b55bfe79" +
                               "1b1780f187732ecba95e0e41b5ad8b2605aa5fb3\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 22
                testRunner.And("the resulting manifest should not have any required configuration entries", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #11
0
        public void InitialiseANon_EmptyButUninitialisedTenancyProviderWithTheForceOption()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Initialise a non-empty but uninitialised tenancy provider with the force option", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 31
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 32
                testRunner.Given("the tenancy provider contains 5 tenants as children of the root tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 33
                testRunner.When("I use the tenant store to initialise the tenancy provider using the force option", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 34
                testRunner.Then("the tenancy provider contains 7 tenants as children of the root tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 35
                testRunner.And("there is a tenant with Id \'75b9261673c2714681f14c97bc0439fb\' as a child of the ro" +
                               "ot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 36
                testRunner.And("the tenant with Id \'75b9261673c2714681f14c97bc0439fb\' is called \'Client Tenants\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 37
                testRunner.And("there is a tenant with Id \'3633754ac4c9be44b55bfe791b1780f1\' as a child of the ro" +
                               "ot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 38
                testRunner.And("the tenant with Id \'3633754ac4c9be44b55bfe791b1780f1\' is called \'Service Tenants\'" +
                               "", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void DuplicateServiceNamesAreAllowedAsLongAsTheWellKnownTenantGUIDsAreUnique()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Duplicate service names are allowed as long as the well known tenant GUIDs are un" +
                                                                                             "ique", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 43
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 44
                testRunner.Given("I have a service manifest called \'Operations Manifest\' for a service called \'Oper" +
                                 "ations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 45
                testRunner.Given("I have a service manifest called \'Operations Manifest 2\' for a service called \'Op" +
                                 "erations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 46
                testRunner.And("I have used the tenant store to create a service tenant with manifest \'Operations" +
                               " Manifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 47
                testRunner.When("I validate the service manifest called \'Operations Manifest 2\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 48
                testRunner.Then("no exception is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #13
0
        public void CreateANewChildClientTenantOfAServiceTenantWithAWellKnownGUID()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create a new child client tenant of a service tenant with a well known GUID", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 36
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 37
                testRunner.Given("I have a service manifest called \'Operations Manifest\' for a service called \'Oper" +
                                 "ations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 38
                testRunner.And("the well-known tenant Guid for the manifest called \'Operations Manifest\' is \'4f52" +
                               "2924-b6e7-48cc-a265-a307407ec858\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 39
                testRunner.And("the tenancy provider has been initialised for use with Marain", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 40
                testRunner.And("I have an existing service tenant with manifest \'Operations Manifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 41
                testRunner.When("I use the tenant store to create a new child client tenant of the \'Operations v1\'" +
                                " client tenant with well known Guid \'d620a845-de25-4b88-b5a1-27d6b1104f82\' calle" +
                                "d \'Litware\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 42
                testRunner.Then("an \'InvalidMarainTenantTypeException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #14
0
        public void CreateANewChildClientTenantOfAClientTenantWithAWellKnownGUID()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create a new child client tenant of a client tenant with a well known GUID", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 23
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 24
                testRunner.Given("the tenancy provider has been initialised for use with Marain", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 25
                testRunner.And("I have an existing client tenant with a well known Guid \'102fdab0-6d9c-4f99-bf87-" +
                               "ce94ad3bbae6\' called \'Fabrikam\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 26
                testRunner.When("I use the tenant store to create a new child client tenant of the \'Fabrikam\' clie" +
                                "nt tenant with well known Guid \'d620a845-de25-4b88-b5a1-27d6b1104f82\' called \'Li" +
                                "tware\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 27
                testRunner.Then("the tenant with Id \'75b9261673c2714681f14c97bc0439fbb0da2f109c6d994fbf87ce94ad3bb" +
                                "ae645a820d625de884bb5a127d6b1104f82\' is called \'Litware\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 28
                testRunner.And("the tenant with Id \'75b9261673c2714681f14c97bc0439fbb0da2f109c6d994fbf87ce94ad3bb" +
                               "ae645a820d625de884bb5a127d6b1104f82\' has a parent with Id \'75b9261673c2714681f14" +
                               "c97bc0439fbb0da2f109c6d994fbf87ce94ad3bbae6\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #15
0
        public void EvacueePaperBasedNewRegistration()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Evacuee paper based new Registration", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 17
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 18
                testRunner.Given("I log in with BCeID user ess.developerA1", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 19
                testRunner.When("I sign into a task", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 20
                testRunner.And("I search for a paper based evacuee", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 21
                testRunner.And("I complete a paper based profile wizard step", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 22
                testRunner.And("I complete a paper based ESS File wizard step", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 23
                testRunner.And("I complete a paper based referral support wizard step", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 24
                testRunner.Then("A paper based registration is completed with an expired support", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void ManifestWithAConfigurationItem()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Manifest with a configuration item", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 24
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 25
                testRunner.When("I deserialize the manifest called \'ManifestWithConfiguration\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 26
                testRunner.Then("the resulting manifest should have the service name \'Manifest with configuration\'" +
                                "", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 27
                testRunner.And("the resulting manifest should have a well known service GUID of \'910825dd-7aa1-44" +
                               "f1-9fbf-c95e8b43e7e2\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 28
                testRunner.And("the resulting manifest should not have any dependencies", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 29
                testRunner.And("the resulting manifest should have 1 required configuration entry", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 30
                testRunner.And("the configuration item with index 0 should be of type \'ServiceManifestBlobStorage" +
                               "ConfigurationEntry\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #17
0
        public void CancelAnOrder()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Cancel an order", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 43
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 44
                testRunner.Given("an order has been created with \'order-to-cancel.json\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] {
                    "Id",
                    "ETag"
                });
                table2.AddRow(new string[] {
                    "775c520f-2fec-4ffd-b5fb-870e605fd05b",
                    "4a0f4ae5-c304-4a6a-8d46-efc8e5af5218"
                });
#line 45
                testRunner.When("I make a PUT request for \'Order\' with the following data to \'api/order/cancel\'", ((string)(null)), table2, "When ");
#line hidden
#line 48
                testRunner.Then("the response status code should be \'200\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 49
                testRunner.And("the response customer should be \'cancelled-order.json\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #18
0
        public void InitialiseANon_EmptyButUninitialisedTenancyProvider()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Initialise a non-empty but uninitialised tenancy provider", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 23
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 24
                testRunner.Given("the tenancy provider contains 5 tenants as children of the root tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 25
                testRunner.When("I use the tenant store to initialise the tenancy provider", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 26
                testRunner.Then("an \'InvalidOperationException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 27
                testRunner.And("the tenancy provider contains 5 tenants as children of the root tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 28
                testRunner.And("there is no tenant with Id \'75b9261673c2714681f14c97bc0439fb\' as a child of the r" +
                               "oot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 29
                testRunner.And("there is no tenant with Id \'3633754ac4c9be44b55bfe791b1780f1\' as a child of the r" +
                               "oot tenant", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #19
0
        public void ShipAnOrder()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Ship an order", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 35
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 36
                testRunner.Given("an order has been created with \'order-to-ship.json\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
                    "Id",
                    "ETag"
                });
                table1.AddRow(new string[] {
                    "dd798647-9c83-4d8f-8102-4d70d0c6c4c3",
                    "4a0f4ae5-c304-4a6a-8d46-efc8e5af5218"
                });
#line 37
                testRunner.When("I make a PUT request for \'Order\' with the following data to \'api/order/ship\'", ((string)(null)), table1, "When ");
#line hidden
#line 40
                testRunner.Then("the response status code should be \'200\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 41
                testRunner.And("the response customer should be \'shipped-order.json\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #20
0
        public void CreateANewServiceTenantWhereTheWell_KnownTenantGUIDInTheManifestIsAlreadyInUse()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create a new service tenant where the well-known tenant GUID in the manifest is a" +
                                                                                             "lready in use", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 51
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 52
                testRunner.Given("the tenancy provider has been initialised for use with Marain", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 53
                testRunner.And("I have used the tenant store to create a service tenant with manifest \'Operations" +
                               " Manifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 54
                testRunner.When("I use the tenant store to create a new service tenant with manifest \'Operations M" +
                                "anifest\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 55
                testRunner.Then("an \'InvalidServiceManifestException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #21
0
        public void SpecFlowStilWorking()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("SpecFlow stil working", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 5
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 6
                testRunner.When("I get a wrong url", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 7
                testRunner.Then("The request fails with 404", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void SimpleManifestWithNoDependenciesOrConfiguration()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Simple manifest with no dependencies or configuration", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 8
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                testRunner.When("I deserialize the manifest called \'SimpleManifestWithNoDependenciesOrConfiguratio" +
                                "n\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 10
                testRunner.Then("the resulting manifest should have the service name \'Simple manifest with no depe" +
                                "ndencies or configuration\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 11
                testRunner.And("the resulting manifest should have a well known service GUID of \'b4dd52e4-a6cd-4e" +
                               "7b-842f-059528a23153\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 12
                testRunner.And("the resulting manifest should not have any dependencies", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 13
                testRunner.And("the resulting manifest should not have any required configuration entries", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #23
0
        public void BCSCUserLogsInToDashboard()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("BCSC user logs in to dashboard", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 3
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 4
                testRunner.Given("I log in with BCSC credentials EVAC00006", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 5
                testRunner.Then("I am on path /verified-registration/dashboard/current", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void NavigationToPlansAfterCalculationsPage()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Navigation to Plans after Calculations page", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 14
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 15
                testRunner.Given("I am on Home Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 16
                testRunner.When("I navigate to Calculations page by header\'s button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 17
                testRunner.And("I type 20 and 20 to the form", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 18
                testRunner.Then("I should see 40 in result field", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 19
                testRunner.When("I navigate to Plans page by header\'s button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 20
                testRunner.Then("I verify Plans page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #25
0
        public void CreateNewClientTenantWhenTheTenancyProviderHasNotBeenInitialised()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create new client tenant when the tenancy provider has not been initialised", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 14
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 15
                testRunner.When("I use the tenant store to create a new client tenant called \'Litware\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 16
                testRunner.Then("an \'InvalidOperationException\' is thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void EnrollmentWithMultipleLevelsOfDependency()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Enrollment with multiple levels of dependency", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 115
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 158
                testRunner.Given("I have enrollment configuration called \'Workflow config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table17 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Container"
                });
                table17.AddRow(new string[] {
                    "fooBarStore",
                    "fbblobaccount",
                    "fbblobcontainer"
                });
                table17.AddRow(new string[] {
                    "operationsStore",
                    "opsblobaccount",
                    "opsblobcontainer"
                });
#line 159
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Blob" +
                               " Storage configuration items", ((string)(null)), table17, "And ");
#line hidden
                TechTalk.SpecFlow.Table table18 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Uri",
                    "Database Name",
                    "Container Name"
                });
                table18.AddRow(new string[] {
                    "workflowStore",
                    "wfaccount",
                    "wfdb",
                    "wfcontainer"
                });
                table18.AddRow(new string[] {
                    "workflowInstanceStore",
                    "wfaccount",
                    "wfdb",
                    "wfinstancecontainer"
                });
#line 163
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Cosm" +
                               "os configuration items", ((string)(null)), table18, "And ");
#line hidden
                TechTalk.SpecFlow.Table table19 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Table"
                });
                table19.AddRow(new string[] {
                    "auditStore",
                    "fbtableaccount",
                    "fbtable"
                });
#line 167
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Tabl" +
                               "e Storage configuration items", ((string)(null)), table19, "And ");
#line hidden
#line 170
                testRunner.When("I use the tenant store with the enrollment configuration called \'Workflow config\'" +
                                " to enroll the tenant called \'Litware\' in the service called \'Workflow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 171
                testRunner.Then("the tenant called \'Litware\' should have the id of the tenant called \'Workflow v1\'" +
                                " added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 172
                testRunner.And("the tenant called \'Litware\' should contain Cosmos configuration for a Cosmos cont" +
                               "ainer definition with database name \'workflow\' and container name \'definitions\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 173
                testRunner.And("the tenant called \'Litware\' should contain Cosmos configuration for a Cosmos cont" +
                               "ainer definition with database name \'workflow\' and container name \'instances\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 174
                testRunner.And("a new child tenant called \'Workflow v1\\Litware\' of the service tenant called \'Wor" +
                               "kflow v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 175
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should have the id of the tenant called \'" +
                               "Operations v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 176
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should contain blob storage configuration" +
                               " for a blob storage container definition with container name \'operations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 177
                testRunner.And("the tenant called \'Litware\' should have the id of the tenant called \'Workflow v1\\" +
                               "Litware\' set as the delegated tenant for the service called \'Workflow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 178
                testRunner.And("a new child tenant called \'Operations v1\\Workflow v1\\Litware\' of the service tena" +
                               "nt called \'Operations v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 179
                testRunner.And("the tenant called \'Operations v1\\Workflow v1\\Litware\' should have the id of the t" +
                               "enant called \'FooBar v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 180
                testRunner.And("the tenant called \'Operations v1\\Workflow v1\\Litware\' should contain blob storage" +
                               " configuration for a blob storage container definition with container name \'foob" +
                               "ar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 181
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should have the id of the tenant called \'" +
                               "Operations v1\\Workflow v1\\Litware\' set as the delegated tenant for the service c" +
                               "alled \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void EnrollmentWithADependency()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Enrollment with a dependency", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 44
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 76
                testRunner.Given("I have enrollment configuration called \'Operations config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table15 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Container"
                });
                table15.AddRow(new string[] {
                    "fooBarStore",
                    "fbblobaccount",
                    "fbblobcontainer"
                });
                table15.AddRow(new string[] {
                    "operationsStore",
                    "opsblobaccount",
                    "opsblobcontainer"
                });
#line 77
                testRunner.And("the enrollment configuration called \'Operations config\' contains the following Bl" +
                               "ob Storage configuration items", ((string)(null)), table15, "And ");
#line hidden
#line 81
                testRunner.When("I use the tenant store with the enrollment configuration called \'Operations confi" +
                                "g\' to enroll the tenant called \'Litware\' in the service called \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 82
                testRunner.Then("the tenant called \'Litware\' should have the id of the tenant called \'Operations v" +
                                "1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 83
                testRunner.And("the tenant called \'Litware\' should contain blob storage configuration for a blob " +
                               "storage container definition with container name \'operations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 84
                testRunner.And("a new child tenant called \'Operations v1\\Litware\' of the service tenant called \'O" +
                               "perations v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 85
                testRunner.And("the tenant called \'Operations v1\\Litware\' should have the id of the tenant called" +
                               " \'FooBar v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 86
                testRunner.And("the tenant called \'Operations v1\\Litware\' should contain blob storage configurati" +
                               "on for a blob storage container definition with container name \'foobar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 87
                testRunner.And("the tenant called \'Litware\' should have the id of the tenant called \'Operations v" +
                               "1\\Litware\' set as the delegated tenant for the service called \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #28
0
        public void GetSettlements_MerchantFilter()
        {
            string[] tagsOfScenario = new string[] {
                "PRTest"
            };
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Get Settlements - Merchant Filter", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 149
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 4
                this.FeatureBackground();
#line hidden
                TechTalk.SpecFlow.Table table22 = new TechTalk.SpecFlow.Table(new string[] {
                    "SettlementDate",
                    "NumberOfFeesSettled",
                    "ValueOfFeesSettled",
                    "IsCompleted"
                });
                table22.AddRow(new string[] {
                    "2022-01-13",
                    "6",
                    "2.39",
                    "True"
                });
#line 150
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' for Merchant \'Test M" +
                                "erchant 1\' with the Start Date \'2022-01-13\' and the End Date \'2022-02-06\' the fo" +
                                "llowing data is returned", ((string)(null)), table22, "When ");
#line hidden
                TechTalk.SpecFlow.Table table23 = new TechTalk.SpecFlow.Table(new string[] {
                    "SettlementDate",
                    "NumberOfFeesSettled",
                    "ValueOfFeesSettled",
                    "IsCompleted"
                });
                table23.AddRow(new string[] {
                    "2022-01-13",
                    "3",
                    "0.71",
                    "True"
                });
#line 154
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' for Merchant \'Test M" +
                                "erchant 2\' with the Start Date \'2022-01-13\' and the End Date \'2022-02-06\' the fo" +
                                "llowing data is returned", ((string)(null)), table23, "When ");
#line hidden
                TechTalk.SpecFlow.Table table24 = new TechTalk.SpecFlow.Table(new string[] {
                    "SettlementDate",
                    "NumberOfFeesSettled",
                    "ValueOfFeesSettled",
                    "IsCompleted"
                });
                table24.AddRow(new string[] {
                    "2022-02-06",
                    "1",
                    "0.85",
                    "True"
                });
#line 158
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate2\' for Merchant \'Test M" +
                                "erchant 3\' with the Start Date \'2022-01-13\' and the End Date \'2022-02-06\' the fo" +
                                "llowing data is returned", ((string)(null)), table24, "When ");
#line hidden
                TechTalk.SpecFlow.Table table25 = new TechTalk.SpecFlow.Table(new string[] {
                    "FeeDescription",
                    "IsSettled",
                    "Operator",
                    "CalculatedValue"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.50"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.13"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.75"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.20"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.30"
                });
                table25.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.51"
                });
#line 162
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' for Merchant \'Test M" +
                                "erchant 1\' with the Date \'2022-01-13\' the following fees are settled", ((string)(null)), table25, "When ");
#line hidden
                TechTalk.SpecFlow.Table table26 = new TechTalk.SpecFlow.Table(new string[] {
                    "FeeDescription",
                    "IsSettled",
                    "Operator",
                    "CalculatedValue"
                });
                table26.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.50"
                });
                table26.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.13"
                });
                table26.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.08"
                });
#line 171
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' for Merchant \'Test M" +
                                "erchant 2\' with the Date \'2022-01-13\' the following fees are settled", ((string)(null)), table26, "When ");
#line hidden
                TechTalk.SpecFlow.Table table27 = new TechTalk.SpecFlow.Table(new string[] {
                    "FeeDescription",
                    "IsSettled",
                    "Operator",
                    "CalculatedValue"
                });
                table27.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Safaricom",
                    "0.85"
                });
#line 177
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate2\' for Merchant \'Test M" +
                                "erchant 3\' with the Date \'2022-02-06\' the following fees are settled", ((string)(null)), table27, "When ");
#line hidden
            }
            this.ScenarioCleanup();
        }
Example #29
0
        public void GetSettlements_NoMerchantFilter()
        {
            string[] tagsOfScenario = new string[] {
                "PRTest"
            };
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Get Settlements - No Merchant Filter", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 122
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 4
                this.FeatureBackground();
#line hidden
                TechTalk.SpecFlow.Table table18 = new TechTalk.SpecFlow.Table(new string[] {
                    "SettlementDate",
                    "NumberOfFeesSettled",
                    "ValueOfFeesSettled",
                    "IsCompleted"
                });
                table18.AddRow(new string[] {
                    "2022-01-13",
                    "9",
                    "3.10",
                    "True"
                });
#line 123
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' with the Start Date " +
                                "\'2022-01-13\' and the End Date \'2022-02-06\' the following data is returned", ((string)(null)), table18, "When ");
#line hidden
                TechTalk.SpecFlow.Table table19 = new TechTalk.SpecFlow.Table(new string[] {
                    "SettlementDate",
                    "NumberOfFeesSettled",
                    "ValueOfFeesSettled",
                    "IsCompleted"
                });
                table19.AddRow(new string[] {
                    "2022-02-06",
                    "1",
                    "0.85",
                    "True"
                });
#line 127
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate2\' with the Start Date " +
                                "\'2022-01-13\' and the End Date \'2022-02-06\' the following data is returned", ((string)(null)), table19, "When ");
#line hidden
                TechTalk.SpecFlow.Table table20 = new TechTalk.SpecFlow.Table(new string[] {
                    "FeeDescription",
                    "IsSettled",
                    "MerchantName",
                    "Operator",
                    "CalculatedValue"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.50"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.13"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.75"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.20"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.30"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 1",
                    "Safaricom",
                    "0.51"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 2",
                    "Safaricom",
                    "0.50"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 2",
                    "Safaricom",
                    "0.13"
                });
                table20.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 2",
                    "Safaricom",
                    "0.08"
                });
#line 131
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate1\' with the Date \'2022-" +
                                "01-13\' the following fees are settled", ((string)(null)), table20, "When ");
#line hidden
                TechTalk.SpecFlow.Table table21 = new TechTalk.SpecFlow.Table(new string[] {
                    "FeeDescription",
                    "IsSettled",
                    "MerchantName",
                    "Operator",
                    "CalculatedValue"
                });
                table21.AddRow(new string[] {
                    "Merchant Commission",
                    "True",
                    "Test Merchant 3",
                    "Safaricom",
                    "0.85"
                });
#line 144
                testRunner.When("I get the Estate Settlement Report for Estate \'Test Estate2\' with the Date \'2022-" +
                                "02-06\' the following fees are settled", ((string)(null)), table21, "When ");
#line hidden
            }
            this.ScenarioCleanup();
        }
        public void EnrollmentWithMultipleLevelsOfDependencyAndWithTheClientTenantDirectlyEnrolledInOneOfTheDependentServices()
        {
            string[] tagsOfScenario = ((string[])(null));
            System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Enrollment with multiple levels of dependency and with the client tenant directly" +
                                                                                             " enrolled in one of the dependent services", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 183
            this.ScenarioInitialize(scenarioInfo);
#line hidden
            if ((TagHelper.ContainsIgnoreTag(tagsOfScenario) || TagHelper.ContainsIgnoreTag(featureTags)))
            {
                testRunner.SkipScenario();
            }
            else
            {
                this.ScenarioStart();
#line 9
                this.FeatureBackground();
#line hidden
#line 228
                testRunner.Given("I have enrollment configuration called \'Workflow config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
                TechTalk.SpecFlow.Table table20 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Container"
                });
                table20.AddRow(new string[] {
                    "fooBarStore",
                    "fbblobaccount",
                    "fbblobcontainer"
                });
                table20.AddRow(new string[] {
                    "operationsStore",
                    "opsblobaccount",
                    "opsblobcontainer"
                });
#line 229
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Blob" +
                               " Storage configuration items", ((string)(null)), table20, "And ");
#line hidden
                TechTalk.SpecFlow.Table table21 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Uri",
                    "Database Name",
                    "Container Name"
                });
                table21.AddRow(new string[] {
                    "workflowStore",
                    "wfaccount",
                    "wfdb",
                    "wfcontainer"
                });
                table21.AddRow(new string[] {
                    "workflowInstanceStore",
                    "wfaccount",
                    "wfdb",
                    "wfinstancecontainer"
                });
#line 233
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Cosm" +
                               "os configuration items", ((string)(null)), table21, "And ");
#line hidden
                TechTalk.SpecFlow.Table table22 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Table"
                });
                table22.AddRow(new string[] {
                    "auditStore",
                    "fbtableaccount",
                    "fbtable"
                });
#line 237
                testRunner.And("the enrollment configuration called \'Workflow config\' contains the following Tabl" +
                               "e Storage configuration items", ((string)(null)), table22, "And ");
#line hidden
#line 240
                testRunner.And("I have enrollment configuration called \'Operations config\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
                TechTalk.SpecFlow.Table table23 = new TechTalk.SpecFlow.Table(new string[] {
                    "Key",
                    "Account Name",
                    "Container"
                });
                table23.AddRow(new string[] {
                    "fooBarStore",
                    "fbblobaccount2",
                    "fbblobcontainer2"
                });
                table23.AddRow(new string[] {
                    "operationsStore",
                    "opsblobaccount2",
                    "opsblobcontainer2"
                });
#line 241
                testRunner.And("the enrollment configuration called \'Operations config\' contains the following Bl" +
                               "ob Storage configuration items", ((string)(null)), table23, "And ");
#line hidden
#line 245
                testRunner.When("I use the tenant store with the enrollment configuration called \'Workflow config\'" +
                                " to enroll the tenant called \'Litware\' in the service called \'Workflow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 246
                testRunner.And("I use the tenant store with the enrollment configuration called \'Operations confi" +
                               "g\' to enroll the tenant called \'Litware\' in the service called \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 247
                testRunner.Then("the tenant called \'Litware\' should have the id of the tenant called \'Workflow v1\'" +
                                " added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
#line 248
                testRunner.And("the tenant called \'Litware\' should contain Cosmos configuration for a Cosmos cont" +
                               "ainer definition with database name \'workflow\' and container name \'definitions\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 249
                testRunner.And("the tenant called \'Litware\' should contain Cosmos configuration for a Cosmos cont" +
                               "ainer definition with database name \'workflow\' and container name \'instances\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 250
                testRunner.And("the tenant called \'Litware\' should have the id of the tenant called \'Operations v" +
                               "1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 251
                testRunner.And("the tenant called \'Litware\' should contain blob storage configuration for a blob " +
                               "storage container definition with container name \'operations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 252
                testRunner.And("a new child tenant called \'Workflow v1\\Litware\' of the service tenant called \'Wor" +
                               "kflow v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 253
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should have the id of the tenant called \'" +
                               "Operations v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 254
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should contain blob storage configuration" +
                               " for a blob storage container definition with container name \'operations\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 255
                testRunner.And("the tenant called \'Litware\' should have the id of the tenant called \'Workflow v1\\" +
                               "Litware\' set as the delegated tenant for the service called \'Workflow v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 256
                testRunner.And("a new child tenant called \'Operations v1\\Workflow v1\\Litware\' of the service tena" +
                               "nt called \'Operations v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 257
                testRunner.And("the tenant called \'Operations v1\\Workflow v1\\Litware\' should have the id of the t" +
                               "enant called \'FooBar v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 258
                testRunner.And("the tenant called \'Operations v1\\Workflow v1\\Litware\' should contain blob storage" +
                               " configuration for a blob storage container definition with container name \'foob" +
                               "ar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 259
                testRunner.And("the tenant called \'Workflow v1\\Litware\' should have the id of the tenant called \'" +
                               "Operations v1\\Workflow v1\\Litware\' set as the delegated tenant for the service c" +
                               "alled \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 260
                testRunner.And("a new child tenant called \'Operations v1\\Litware\' of the service tenant called \'O" +
                               "perations v1\' has been created", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 261
                testRunner.And("the tenant called \'Operations v1\\Litware\' should have the id of the tenant called" +
                               " \'FooBar v1\' added to its enrollments", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 262
                testRunner.And("the tenant called \'Operations v1\\Litware\' should contain blob storage configurati" +
                               "on for a blob storage container definition with container name \'foobar\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 263
                testRunner.And("the tenant called \'Litware\' should have the id of the tenant called \'Operations v" +
                               "1\\Litware\' set as the delegated tenant for the service called \'Operations v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            }
            this.ScenarioCleanup();
        }