public Object resolve(final Expression expression) {
    return new Visitor().process(expression, null);
  }
@Test
  public void shouldParseTime() {
    // Given:
    final SqlType type = SqlTypes.TIME;
    final Expression exp = new StringLiteral("04:40:02");

    // When:
    Object o = new GenericExpressionResolver(type, FIELD_NAME, registry, config, "insert value",
        false).resolve(exp);

    // Then:
    assertTrue(o instanceof Time);
    assertThat(((Time) o).getTime(), is(16802000L));
  }