Catel.Fody.Tests.ConfigurationFacts.CorrectlyReadsWeaveLogging C# (CSharp) Метод

CorrectlyReadsWeaveLogging() приватный Метод

private CorrectlyReadsWeaveLogging ( ) : void
Результат 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);
        }