public static String formatExpression(final Expression expression) {
    return formatExpression(expression, FormatOptions.of(s -> false));
  }
@Test
  public void shouldFormatStructExpression() {
    assertThat(ExpressionFormatter.formatExpression(new CreateStructExpression(
        ImmutableList.of(
            new Field("foo", new StringLiteral("abc")),
            new Field("bar", new SubscriptExpression(new UnqualifiedColumnReferenceExp(ColumnName.of("abc")), new IntegerLiteral(1))))
        ), FormatOptions.of(exp -> exp.equals("foo"))),
        equalTo("STRUCT(`foo`:='abc', bar:=abc[1])"));
  }