Trie { @Override public String toString() { return "Trie{" + "roots=" + roots + '}'; }  @Override String toString();  }
@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())); }