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

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

private CorrectlyReadsWeaveProperties ( ) : void
Результат void
        public void CorrectlyReadsWeaveProperties()
        {
            var falseElement = XElement.Parse(@"<Node WeaveProperties='false' />");
            var falseConfiguration = new Configuration(falseElement);

            Assert.IsFalse(falseConfiguration.WeaveProperties);

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

            Assert.IsTrue(trueConfiguration.WeaveProperties);
        }