public void test_isBeforeIsAfterIsEqual_instantComparison() {

    OffsetTime a = OffsetTime.of(11, 30, 59, OFFSET_PTWO);
    OffsetTime b = OffsetTime.of(10, 30, 59, OFFSET_PONE); // 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" }