### Question:
Pointer implements Serializable { public Synset getTargetSynset() throws JWNLException { if (null == getTarget()) { return null; } return getTarget().getSynset(); } 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 testGetTargetSynsetNull() throws JWNLException { Synset s = new Synset(dictionary, POS.NOUN, 1); Pointer p = new Pointer(s, PointerType.ANTONYM, POS.NOUN, 3, 0); Assert.assertNull(p.getTargetSynset()); }