@Test
public void serviceReturnsLocalFrequencyDataForVariantWithRsIdIfKnown() {

    FrequencyData localFrequencyData = FrequencyData.of(RsId.empty(), Frequency.of(FrequencySource.LOCAL, 2f));
    Mockito.when(localFrequencyDao.getFrequencyData(variant)).thenReturn(localFrequencyData);
    FrequencyData result = instance.getVariantFrequencyData(variant, EnumSet.of(FrequencySource.LOCAL));
    assertThat(result, equalTo(FrequencyData.of(RsId.of(1234567), Frequency.of(FrequencySource.LOCAL, 2f))));
}