### Question:
PedigreeQueryDecorator { public int getNumberOfUnaffecteds() { int result = 0; for (Person member : pedigree.getMembers()) if (member.getDisease() == Disease.UNAFFECTED) result += 1; return result; } PedigreeQueryDecorator(Pedigree pedigree); Pedigree getPedigree(); boolean isParentOfAffected(Person person); ImmutableSet<String> getUnaffectedNames(); ImmutableSet<String> getParentNames(); ImmutableSet<String> getAffectedFemaleParentNames(); ImmutableSet<String> getAffectedMaleParentNames(); ImmutableList<Person> getParents(); int getNumberOfParents(); int getNumberOfAffecteds(); int getNumberOfUnaffecteds(); ImmutableMap<Person, ImmutableList<Person>> buildSiblings();  }### Answer:
@Test public void testGetNumberOfUnaffecteds() { Assert.assertEquals(1, decorator.getNumberOfUnaffecteds()); }