### Question:
Person { public boolean isFounder() { return (father == null && mother == null); } Person(String name, Person father, Person mother, Sex sex, Disease disease, Collection<String> extraFields);  Person(String name, Person father, Person mother, Sex sex, Disease disease);   Person(PedPerson pedPerson, PedFileContents pedFileContents, HashMap<String, Person> existing); String getName(); Person getFather(); Person getMother(); Sex getSex(); Disease getDisease(); ImmutableList<String> getExtraFields(); boolean isFounder(); boolean isMale(); boolean isFemale(); boolean isAffected(); boolean isUnaffected(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testIsFounderTrue() { Person index = new Person("name", null, null, Sex.MALE, Disease.AFFECTED); Assert.assertTrue(index.isFounder()); }
@Test public void testIsFounderFalse() { Person father = new Person("father", null, null, Sex.MALE, Disease.AFFECTED); Person index = new Person("name", father, null, Sex.MALE, Disease.AFFECTED); Assert.assertFalse(index.isFounder()); }