@Test
public void serviceQueryForSynonymousVariantReturnsEmptyPathogenicityData() {

    variant = buildVariantOfType(VariantEffect.SYNONYMOUS_VARIANT);
    // Even if there is pathogenicity data it's likely wrong for a synonymous variant, so check we ignore it
    // This will cause a UnnecessaryStubbingException to be thrown as the result of this stubbing is ignored, but
    // we're trying to test for exactly that functionality we're running with the MockitoJUnitRunner.Silent.class
    Mockito.when(defaultPathogenicityDao.getPathogenicityData(variant)).thenReturn(PathogenicityData.of(MutationTasterScore.of(1f)));
    PathogenicityData result = instance.getVariantPathogenicityData(variant, EnumSet.of(PathogenicitySource.MUTATION_TASTER));
    assertThat(result, equalTo(PathogenicityData.empty()));
}