Catel.Test.Data.ModelBaseTest.PropertiesAreRegisteredWithGenerics C# (CSharp) Method

PropertiesAreRegisteredWithGenerics() private method

private PropertiesAreRegisteredWithGenerics ( ) : void
return void
        public void PropertiesAreRegisteredWithGenerics()
        {
            var model = new TestModelWithGenericPropertyRegistrations();

            Assert.IsTrue(model.IsPropertyRegistered("ValueType"));
            Assert.IsTrue(model.IsPropertyRegistered("ValueTypeWithDefaultValue"));
            Assert.IsTrue(model.IsPropertyRegistered("ReferenceType"));
            Assert.IsTrue(model.IsPropertyRegistered("ReferenceTypeWithDefaultValue"));
        }
#endif
ModelBaseTest