@VisibleForTesting
  Object evaluate(final GenericRow row) {
    return term.getValue(new TermEvaluationContext(row));
  }
@Test
  public void shouldEvaluateStruct() {
    // Given:
    final Expression expression1 = new CreateStructExpression(
        ImmutableList.of(
            new Field("A", new IntegerLiteral(10)),
            new Field("B", new StringLiteral("abc"))
        )
    );


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

    // Then:
    assertThat(interpreter1.evaluate(ROW), is(
        new Struct(SchemaBuilder.struct().optional()
            .field("A", SchemaBuilder.int32().optional().build())
            .field("B", SchemaBuilder.string().optional().build())
            .build())
            .put("A", 10)
            .put("B", "abc")));
  }