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