@Test
public void testToFreqData() {

    AlleleProperties alleleProperties = AlleleProperties.newBuilder()
            .putProperties("KG", 0.7f)
            .putProperties("TOPMED", 0.05f)
            .build();
    assertThat(AlleleProtoAdaptor.toFrequencyData(alleleProperties),
            equalTo(FrequencyData.of(
                Frequency.of(FrequencySource.THOUSAND_GENOMES, 0.7f),
                Frequency.of(FrequencySource.TOPMED, 0.05f))
            )
    );
}