Пример #1
0
        public void GetAssociationProperties_ClassHasNoAssociationProperties_EmptyListReturned()
        {
            var contentInspector      = new ContentInspector();
            var associationProperties = contentInspector.GetAssociationProperties(new AssociationLessClass());

            Assert.AreEqual(0, associationProperties.Count());
        }
Пример #2
0
        public void GetAssociationProperties_ClassHasAssociationProperty_OnePropertyReturned()
        {
            var contentInspector      = new ContentInspector();
            var associationProperties = contentInspector.GetAssociationProperties(new AssociationClass());

            Assert.AreEqual(1, associationProperties.Count());
        }