public void WhenEnvironmentWithNameTestingIsAddedNameShouldBeTesting()
        {
            var scen = new EnvironmentScenarios();
            RunRegisterEnvironmentScenario(scen);

            Assert.IsTrue(scen.EnvironmentNameShouldBe(Testing));
        }
        public void WhenEnvironmentNameIsAddedNameShouldBe()
        {
            var scen = new EnvironmentScenarios();
            RunRegisterEnvironmentScenario(scen);

            var expected = "MyMachine." + Testing + ".SqLite";
            Assert.IsTrue(scen.SettingNameShouldBe(expected));
        }
 private static bool RunRegisterEnvironmentScenario(EnvironmentScenarios scen)
 {
     var setName = scen.RegisterEnvironmentWithNameAndProviderWithConnectionString(Testing, "SqLite",
                                                                            "This is a test connection string");
     return !string.IsNullOrWhiteSpace(setName);
 }
        public void ThatAnEnvironmentCanBeAdded()
        {
            var scen = new EnvironmentScenarios();

            Assert.IsTrue(RunRegisterEnvironmentScenario(scen));
        }