### Question:
RelationshipFinder { private static RelationshipList findSymmetricRelationships( Synset sourceSynset, Synset targetSynset, PointerType type) throws JWNLException { return findSymmetricRelationships(sourceSynset, targetSynset, type, DEFAULT_SYMMETRIC_SEARCH_DEPTH); }  static int getImmediateRelationship(IndexWord sourceWord, IndexWord targetWord); static RelationshipList findRelationships(
            Synset sourceSynset, Synset targetSynset, PointerType type); static RelationshipList findRelationships(
            Synset sourceSynset, Synset targetSynset, PointerType type, int depth);  }### Answer:
@Test public void testFindSymmetricRelationships() throws JWNLException, CloneNotSupportedException { dictionary.edit(); Synset s1 = dictionary.createSynset(POS.NOUN); Synset s2 = dictionary.createSynset(POS.NOUN); RelationshipList l = RelationshipFinder.findRelationships(s1, s2, PointerType.ANTONYM); Assert.assertNotNull(l); Assert.assertEquals(0, l.size()); s1.getPointers().add(new Pointer(PointerType.ANTONYM, s1, s2)); RelationshipList ll = RelationshipFinder.findRelationships(s1, s2, PointerType.ANTONYM); Assert.assertEquals(1, ll.size()); Relationship r = ll.get(0); Assert.assertTrue(r instanceof SymmetricRelationship); Assert.assertEquals(1, r.getSize()); Assert.assertEquals(PointerType.ANTONYM, r.getType()); Assert.assertEquals(s1, r.getSourceSynset()); Assert.assertEquals(s2, r.getTargetSynset()); Assert.assertEquals(s2, r.getNodeList().get(0).getSynset()); }