@VisibleForTesting
  Object evaluate(final GenericRow row) {
    return term.getValue(new TermEvaluationContext(row));
  }
@Test
  public void shouldEvaluateCastToBytes() {
    // Given:
    final Expression cast1 = new Cast(
        new BytesLiteral(ByteBuffer.wrap(new byte[] {123})),
        new Type(SqlPrimitiveType.of("BYTES"))
    );

    // When:
    InterpretedExpression interpreter1 = interpreter(cast1);

    // Then:
    assertThat(interpreter1.evaluate(ROW), is(ByteBuffer.wrap(new byte[] {123})));
  }