public static TokenLocation of(final int line, final int charPositionInLine) {
    return new TokenLocation(
        line,
        charPositionInLine,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE
    );
  }
@Test
  public void shouldImplementEqualsProperly() {
    new EqualsTester()
        .addEqualityGroup(TokenLocation.of(1, 2))
        .addEqualityGroup(new TokenLocation(1, 2, 3, 4), new TokenLocation(1, 2, 3, 4))
        .testEquals();
  }