@Test
public final void testOffsetsTooLong() {

    LocationReference ref = null;
    ref = BINARY_ENCODER.encodeData(lineLocRefValidOffsetTooLong);
    assertFalse(ref.isValid());
    assertSame(ref.getReturnCode(), INVALID_OFFSET);
}