@Test
public void incorrectSexMother() {

    Individual incorrectSexMother = Individual.builder().id("mother").sex(Sex.MALE).build();
    assertThrows(IllegalArgumentException.class, () -> Pedigree.of(PROBAND, incorrectSexMother));
}