public String anonymize(final ParseTree tree) {
    return build(tree);
  }
@Test
  public void shouldWorkAsExpectedWhenPassedAParseTreeInsteadOfString() {
    // Given:
    final ParserRuleContext tree =
        DefaultKsqlParser.getParseTree("DESCRIBE my_stream EXTENDED;");

    // Then:
    Assert.assertEquals("DESCRIBE stream1 EXTENDED;",
        anon.anonymize(tree));
  }