ValidateInterpretation implements Callable<Integer> { static boolean sameLocus(final AlleleList alleleList0, final AlleleList alleleList1) { checkNotNull(alleleList0); checkNotNull(alleleList1); return (alleleList0.getAlleles().get(0).getLocus().equals(alleleList1.getAlleles().get(0).getLocus())); } ValidateInterpretation(final File expectedFile,
                                  final File observedFile,
                                  final File outputFile,
                                  final int resolution,
                                  final List<String> loci,
                                  final boolean printSummary,
                                  final GlClient glclient); @Override Integer call(); static void main(final String[] args);  }
@Test(expected=NullPointerException.class) public void testSameLocusNullAlleleList0() { sameLocus(null, alleleList1); }
@Test(expected=NullPointerException.class) public void testSameLocusNullAlleleList1() { sameLocus(alleleList0, null); }
@Test public void testSameLocus() { assertTrue(sameLocus(alleleList0, alleleList1)); assertFalse(sameLocus(alleleList0, alleleList2)); }