AlleleConverter { public static AlleleProperties toAlleleProperties(Allele allele) { AlleleProperties.Builder builder = AlleleProperties.newBuilder(); builder.setRsId(allele.getRsId()); addAllelePropertyValues(builder, allele.getValues()); addClinVarData(builder, allele); return builder.build(); } private  AlleleConverter(); static AlleleKey toAlleleKey(Allele allele); static AlleleProperties mergeProperties(AlleleProperties originalProperties, AlleleProperties properties); static AlleleProperties toAlleleProperties(Allele allele); static ClinVar toProtoClinVar(ClinVarData clinVarData);  }
@Test public void convertProperties() { assertThat(AlleleConverter.toAlleleProperties(ALLELE), equalTo(ALLELE_PROPERTIES)); }