@Test
public void testEquals() {

  ObjectTester.assertEqual(new Token(1, 2, "value"), new Token(1, 2, "value"));
  ObjectTester.assertEqual(new Token(1, 2, null), new Token(1, 2, null));
  ObjectTester.assertNotEqual(new Token(1, 2, "value"),
      new Token(2, 2, "value"), new Token(1, 3, "value"),
      new Token(1, 2, "value2"), new Token(1, 2, null));
}