Catel.Test.Extensions.DynamicObjects.DynamicModelBaseFacts.TheGetValueProperties.CorrectlyReturnsTheRightValue C# (CSharp) Method

CorrectlyReturnsTheRightValue() private method

private CorrectlyReturnsTheRightValue ( ) : void
return void
            public void CorrectlyReturnsTheRightValue()
            {
                dynamic model = new DynamicModel();
                var dynamicModel = (DynamicModel)model;

                model.NonExistingGetProperty = "test";

                Assert.IsTrue(dynamicModel.IsPropertyRegistered("NonExistingGetProperty"));

                Assert.AreEqual("test", model.NonExistingGetProperty);
            }
        }
DynamicModelBaseFacts.TheGetValueProperties