@Test public void idTest() { assertThat(ResultFormatterDOT.getSafeLabel("EOL:123"), Is.is("EOL_123")); assertThat(ResultFormatterDOT.getSafeLabel("EOL assertThat(ResultFormatterDOT.getSafeLabel("Animalia | Primates"), Is.is("Animalia___Primates")); }
protected static String getSafeLabel(String string) { return string.replaceAll("\\W", "_"); }
ResultFormatterDOT implements ResultFormatter { protected static String getSafeLabel(String string) { return string.replaceAll("\\W", "_"); } }
ResultFormatterDOT implements ResultFormatter { protected static String getSafeLabel(String string) { return string.replaceAll("\\W", "_"); }  }
ResultFormatterDOT implements ResultFormatter { protected static String getSafeLabel(String string) { return string.replaceAll("\\W", "_"); }  @Override String format(final String content); }
ResultFormatterDOT implements ResultFormatter { protected static String getSafeLabel(String string) { return string.replaceAll("\\W", "_"); }  @Override String format(final String content);  }