### Question:
Pointer implements Serializable { public String toString() { String targetMsg = (target == null) ? targetIndex.toString() : target.toString(); return ResourceBundleSet.insertParams("[PointerTarget: [Source Index: {0}] Source: {1} Target: {2}]", new Object[]{getSourceIndex(), getSource(), targetMsg}); } Pointer(PointerTarget source, PointerType pointerType, POS targetPOS, long targetOffset, int targetIndex);  Pointer(PointerType pointerType, PointerTarget source, PointerTarget target); String toString(); int getSourceIndex(); PointerType getType(); boolean isLexical(); boolean isSemantic(); boolean isSymmetricTo(Pointer that); PointerTarget getSource(); PointerTarget getTarget(); void setTarget(PointerTarget target); Synset getTargetSynset(); long getTargetOffset(); int getTargetIndex(); POS getTargetPOS(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testToString() throws JWNLException { dictionary.edit(); Synset s = new Synset(dictionary, POS.NOUN, 1); Synset t = new Synset(dictionary, POS.ADJECTIVE, 2); Pointer p = new Pointer(PointerType.ANTONYM, s, t); Assert.assertNotNull(p.toString()); }