@SuppressWarnings("unchecked")
  public <T extends Expression> T rewrite(final T expression, final C context) {
    return (T) rewriter.process(expression, context);
  }
@Test
  public void shouldRewriteType() {
    // Given:
    final Type type = new Type(SqlPrimitiveType.of("INTEGER"));

    // When:
    final Expression rewritten = expressionRewriter.rewrite(type, context);

    // Then:
    assertThat(rewritten, is(type));
  }