Пример #1
0
        public void CanDetectBindingMismatch()
        {
            var parser = new ConfigFileParser(Path.Combine(TestContext.DeploymentDirectory, "BindingMismatch.config"));

            var output = parser.Analyze();

            Assert.IsTrue(output.IsFailure);
        }
Пример #2
0
        public void CanParseEvenIfNoService()
        {
            var parser = new ConfigFileParser(Path.Combine(TestContext.DeploymentDirectory, "NoService.config"));

            var output = parser.Analyze();

            Assert.IsTrue(output.IsSuccess);
        }