public void TestProd()
        {
            IEnvConfiguration config = new EnvConfiguration(EnvType.Production);

            Assert.IsFalse(config.IsDevelopment);
            Assert.IsFalse(config.IsLoaded);
            Assert.IsNull(config.Variables);

            config.Load("Configurations/Env");

            Assert.IsTrue(config.IsLoaded);
            Assert.IsNotNull(config.Variables);
            Assert.IsFalse(config.Variables.IsDevelopment);
        }
        public void TestFailLoad()
        {
            IEnvConfiguration config = new EnvConfiguration(EnvType.Development);

            try
            {
                config.Load("fake/path/lolz");
                Assert.Fail();
            }
            catch (Exception)
            {
            }
            Assert.IsNull(config.Variables);
        }
        public void TestLocal()
        {
            IEnvConfiguration config = new EnvConfiguration(EnvType.LocalDevelopment);

            Assert.AreEqual(EnvType.LocalDevelopment, config.EnvironmentType);
            Assert.IsTrue(config.IsDevelopment);
            Assert.IsFalse(config.IsLoaded);
            Assert.IsNull(config.Variables);

            config.Load("Configurations/Env");

            Assert.IsTrue(config.IsLoaded);
            Assert.IsNotNull(config.Variables);
            Assert.IsTrue(config.Variables.IsDevelopment);
        }