@Test
public void testTruncate() {

    TExecutionContext context = new TExecutionContext(null, null, null, null,
            ErrorHandlingMode.IGNORE, ErrorHandlingMode.IGNORE, ErrorHandlingMode.IGNORE);
    long actual = CastUtils.parseInRange(input, Long.MAX_VALUE, Long.MIN_VALUE, context);

    assertEquals(input, expected, actual);
}