PrefixPattern implements RestrictionPattern { @Override public String toString() { return prefixes.toString(); } PrefixPattern(@NotNull Iterable<String> prefixes); @Override boolean matches(@NotNull Tree tree, @Nullable PropertyState property); @Override boolean matches(@NotNull String path); @Override boolean matches(); @Override int hashCode(); @Override String toString(); @Override boolean equals(Object obj);  }
@Test public void testToString() { assertEquals(prefixes.toString(), pattern.toString()); }