@Test
void testGetIdToPhenotypeTerms() {

    PhenotypeTerm modeOfInheritance = PhenotypeTerm.of("HP:0000005", "Mode of inheritance");
    PhenotypeTerm adInheritance = PhenotypeTerm.of("HP:0000006", "Autosomal dominant inheritance");
    ImmutableMap.Builder<String, PhenotypeTerm> expected = ImmutableMap.builder();
    expected.put("HP:0000003", multicysticKidneyDysplasia);
    expected.put("HP:0004715", multicysticKidneyDysplasia);
    expected.put("HP:0000005", modeOfInheritance);
    expected.put("HP:0001453", modeOfInheritance);
    expected.put("HP:0001461", modeOfInheritance);
    expected.put("HP:0000006", adInheritance);
    expected.put("HP:0001415", adInheritance);
    expected.put("HP:0001447", adInheritance);
    expected.put("HP:0001448", adInheritance);
    expected.put("HP:0001451", adInheritance);
    expected.put("HP:0001455", adInheritance);
    expected.put("HP:0001456", adInheritance);
    expected.put("HP:0001463", adInheritance);
    assertThat(instance.getIdToPhenotypeTerms(), equalTo(expected.build()));
}