Beispiel #1
0
        public static void GetEnvironmentFromPath_ReturnsExpectedResult(string path,
                                                                        DeployEnvironment expectedEnvironment)
        {
            var result = ConfigParser.GetEnvironmentFromPath(path);

            Assert.That(result, Is.EqualTo(expectedEnvironment));
        }
Beispiel #2
0
 public static void GetEnvironmentFromPath_Throws(string path)
 {
     Assert.That(() => ConfigParser.GetEnvironmentFromPath(path), Throws.ArgumentException);
 }