コード例 #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());
        }