GeneSymbolFilter implements VariantFilter { public Set<String> getGeneSymbols() { return 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 testGetGeneIds() { Set<String> genesToKeep = genesToKeep(WANTED_GENE_SYMBOL); GeneSymbolFilter instance = new GeneSymbolFilter(genesToKeep); assertThat(instance.getGeneSymbols(), equalTo(genesToKeep)); }