### Question:
AsymmetricRelationship extends Relationship { public int getRelativeTargetDepth() { if (cachedRelativeTargetDepth == -1) { int distSourceToParent = commonParentIndex; int distParentToTarget = (getNodeList().size() - 1) - commonParentIndex; cachedRelativeTargetDepth = distParentToTarget - distSourceToParent; } return cachedRelativeTargetDepth; } AsymmetricRelationship(
            PointerType type, PointerTargetNodeList nodes, int commonParentIndex, Synset sourceSynset, Synset targetSynset); int getCommonParentIndex(); int getRelativeTargetDepth(); Relationship reverse();  }### Answer:
@Test public void testGetRelativeTargetDepth() throws JWNLException { dictionary.edit(); Synset s1 = dictionary.createSynset(POS.NOUN); Synset s2 = dictionary.createSynset(POS.NOUN); Synset s3 = dictionary.createSynset(POS.NOUN); AsymmetricRelationship r = new AsymmetricRelationship(PointerType.HYPERNYM, new PointerTargetNodeList( Arrays.asList( new PointerTargetNode(s1), new PointerTargetNode(s2), new PointerTargetNode(s3) ) ), 1, s1, s3); Assert.assertEquals(0, r.getRelativeTargetDepth()); }