public void now_Clock_offsets() {

    OffsetDateTime base = OffsetDateTime.of(1970, 1, 1, 12, 0, ZoneOffset.UTC);
    for (int i = -9; i < 15; i++) {
      ZoneOffset offset = ZoneOffset.ofHours(i);
      Clock clock = Clock.fixed(base.toInstant(), offset);
      OffsetDateTime test = OffsetDateTime.now(clock);
      assertEquals(test.getHour(), (12 + i) % 24);
      assertEquals(test.getMinute(), 0);
      assertEquals(test.getSecond(), 0);
      assertEquals(test.getNano(), 0);
      assertEquals(test.getOffset(), offset);
    }
  }

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