public void Test_IsOneToOne_WhenHasReverseRelationshipAndIsOneToMany_ShouldBeFalse() { //---------------Set up test pack------------------- var classDef = MyBO.LoadClassDefWithSingleRelationshipWithReverseRelationship(); var relationshipDef = classDef.RelationshipDefCol["MyRelationship"]; MyRelatedBo.LoadClassDefWithMultipleRelationshipBackToMyBo(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- bool isOneToOne = relationshipDef.IsOneToOne; //---------------Test Result ----------------------- Assert.IsFalse(isOneToOne); }