public static String formatExpression(final Expression expression) {
    return formatExpression(expression, FormatOptions.of(s -> false));
  }
@Test
  public void shouldFormatDereferenceExpression() {
    // Given:
    final DereferenceExpression expression = new DereferenceExpression(
        Optional.of(LOCATION),
        new StringLiteral("foo"),
        "name"
    );

    // When:
    final String text = ExpressionFormatter.formatExpression(expression);

    // Then:
    assertThat(text, equalTo("'foo'->name"));
  }