public void GetAssociationProperties_ClassHasNoAssociationProperties_EmptyListReturned() { var contentInspector = new ContentInspector(); var associationProperties = contentInspector.GetAssociationProperties(new AssociationLessClass()); Assert.AreEqual(0, associationProperties.Count()); }
public void GetAssociationProperties_ClassHasAssociationProperty_OnePropertyReturned() { var contentInspector = new ContentInspector(); var associationProperties = contentInspector.GetAssociationProperties(new AssociationClass()); Assert.AreEqual(1, associationProperties.Count()); }