VariantEffectCount { @Override public String toString() { return variantEffect + "=" + sampleVariantEffectCounts; } VariantEffectCount(VariantEffect variantType, List<Integer> sampleVariantTypeCounts); VariantEffect getVariantType(); List<Integer> getSampleVariantTypeCounts(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { assertThat(instance.toString(), equalTo("MISSENSE_VARIANT=[1, 2, 3]")); }