@Test
public void testOf() {

    assertThat(PhenotypeTerm.of("id", "label"), equalTo(PhenotypeTerm.of("id", "label")));
    assertThat(PhenotypeTerm.of("id", "label").isPresent(), is(true));
    assertThat(PhenotypeTerm.of("id", "label").notPresent(), is(false));
    assertThat(PhenotypeTerm.of("otherId", "otherLabel"), not(equalTo(PhenotypeTerm.of("id", "label"))));
}