GeneSymbolFilter implements VariantFilter { @Override public String toString() { return "GeneSymbolFilter{" + "genesToKeep=" + genesToKeep + '}'; } GeneSymbolFilter(Set<String> genesToKeep); Set<String> getGeneSymbols(); @Override FilterType getFilterType(); @Override FilterResult runFilter(VariantEvaluation variantEvaluation); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testToString() { GeneSymbolFilter instance = geneSymbolFilter("ABC1"); assertThat(instance.toString(), equalTo("GeneSymbolFilter{genesToKeep=[ABC1]}")); }