void doTest_comparisons_LocalDate(LocalDate... localDates) {

    for (int i = 0; i < localDates.length; i++) {
      LocalDate a = localDates[i];
      for (int j = 0; j < localDates.length; j++) {
        LocalDate b = localDates[j];
        if (i < j) {
          assertTrue(a.compareTo(b) < 0, a + " <=> " + b);
          assertEquals(a.isBefore(b), true, a + " <=> " + b);
          assertEquals(a.isAfter(b), false, a + " <=> " + b);
          assertEquals(a.equals(b), false, a + " <=> " + b);
        } else if (i > j) {
          assertTrue(a.compareTo(b) > 0, a + " <=> " + b);
          assertEquals(a.isBefore(b), false, a + " <=> " + b);
          assertEquals(a.isAfter(b), true, a + " <=> " + b);
          assertEquals(a.equals(b), false, a + " <=> " + b);
        } else {
          assertEquals(a.compareTo(b), 0, a + " <=> " + b);
          assertEquals(a.isBefore(b), false, a + " <=> " + b);
          assertEquals(a.isAfter(b), false, a + " <=> " + b);
          assertEquals(a.equals(b), true, a + " <=> " + b);
        }
      }
    }
  }

  @Test(expectedExceptions = NullPointerException.class, groups = { "tck" }