public void test_isBeforeIsAfterIsEqual_instantComparison() {

    OffsetDate a = OffsetDate.of(2008, 6, 30, ZoneOffset.ofHours(12));
    OffsetDate b = OffsetDate.of(2008, 6, 29, ZoneOffset.ofHours(-12)); // a is same instant as b
    assertEquals(a.isBefore(b), false);
    assertEquals(a.isEqual(b), true);
    assertEquals(a.isAfter(b), false);

    assertEquals(b.isBefore(a), false);
    assertEquals(b.isEqual(a), true);
    assertEquals(b.isAfter(a), false);

    assertEquals(a.isBefore(a), false);
    assertEquals(b.isBefore(b), false);

    assertEquals(a.isEqual(a), true);
    assertEquals(b.isEqual(b), true);

    assertEquals(a.isAfter(a), false);
    assertEquals(b.isAfter(b), false);
  }

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