VariantDataServiceImpl implements VariantDataService { @Override public boolean variantIsWhiteListed(Variant variant) { return whiteList.contains(variant); } private  VariantDataServiceImpl(Builder builder); @Override boolean variantIsWhiteListed(Variant variant); @Override FrequencyData getVariantFrequencyData(Variant variant, Set<FrequencySource> frequencySources); @Override PathogenicityData getVariantPathogenicityData(Variant variant, Set<PathogenicitySource> pathogenicitySources); static Builder builder();  }
@Test void serviceReturnsDataAboutWhiteList() { assertThat(instance.variantIsWhiteListed(variant), is(false)); }