Beispiel #1
0
        public void Find_Environment()
        {
            var target = new EnvironmentProvider();

            target.Initialize(@"samples\PowerDeploy.Sample.XCopy".MapVcsRoot());
            var result = target.GetEnvironment("unittest");

            Assert.IsNotNull(result);
            Assert.AreEqual("unittest", result.Name);
            Assert.AreEqual("Jack", result["Firstname"].Value);
            Assert.AreEqual("Bauer", result["Lastname"].Value);
        }