### Question:
Word extends PointerTarget { @Override public int getIndex() { int result = 0; if (null != synset) { result = synset.getWords().indexOf(this) + 1; } return result; } Word(Dictionary dictionary, Synset synset, String lemma); boolean equals(Object object); int hashCode(); String toString(); int getLexId(); void setLexId(int lexId); Synset getSynset(); POS getPOS(); @Override int getIndex(); String getLemma(); int getUseCount(); void setUseCount(int useCount); List<Pointer> getPointers(); String getSenseKey(); String getSenseKeyWithAdjClass(); int getSenseNumber();  }### Answer:
@Test public void testGetIndex() { Assert.assertEquals(0, word.getIndex()); }