Catel.Fody.Tests.ConfigurationFacts.CorrectlyReadsWeaveLogging C# (CSharp) Method

CorrectlyReadsWeaveLogging() private method

private CorrectlyReadsWeaveLogging ( ) : void
return void
        public void CorrectlyReadsWeaveLogging()
        {
            var falseElement = XElement.Parse(@"<Node WeaveLogging='false' />");
            var falseConfiguration = new Configuration(falseElement);

            Assert.IsFalse(falseConfiguration.WeaveLogging);

            var trueElement = XElement.Parse(@"<Node WeaveLogging='true' />");
            var trueConfiguration = new Configuration(trueElement);

            Assert.IsTrue(trueConfiguration.WeaveLogging);
        }