@Test public void testToString() { assertThat(trie.toString(), not(Matchers.isEmptyOrNullString())); trie.insert(Path.of("/"), "/"); assertThat(trie.toString(), not(Matchers.isEmptyOrNullString())); trie.insert(Path.of("/<foo>"), "/<foo>"); assertThat(trie.toString(), not(Matchers.isEmptyOrNullString())); trie.insert(Path.of("/<foo>/<bar:path>"), "/<foo>/<bar:path>"); assertThat(trie.toString(), not(Matchers.isEmptyOrNullString())); }
@Override public String toString() { return "Trie{" + "roots=" + roots + '}'; }
Trie { @Override public String toString() { return "Trie{" + "roots=" + roots + '}'; } }
Trie { @Override public String toString() { return "Trie{" + "roots=" + roots + '}'; }  }
Trie { @Override public String toString() { return "Trie{" + "roots=" + roots + '}'; }  @Override String toString(); }
Trie { @Override public String toString() { return "Trie{" + "roots=" + roots + '}'; }  @Override String toString();  }