### Question:
Token { public int length() { return len; } Token(int index, int length, Object value); int length(); int index(); Object value(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testLength() { assertEquals(1, new Token(0, 1, null).length()); }