### Question:
GenotypeList { public boolean namesEqual(Pedigree pedigree) { return (pedigree.getNames().equals(names)); } GenotypeList(String geneID, List<String> names, boolean isXChromosomal,
						ImmutableList<ImmutableList<Genotype>> calls); String getGeneName(); ImmutableList<String> getNames(); boolean isXChromosomal(); ImmutableList<ImmutableList<Genotype>> getCalls(); boolean namesEqual(Pedigree pedigree); @Override String toString();  }### Answer:
@Test public void testIsNamesEqual() { Assert.assertTrue(list.namesEqual(pedigree1)); Assert.assertFalse(list.namesEqual(pedigree2)); }