public void test_get(int h, int m, int s, int n, ZoneOffset offset) {

    LocalTime localTime = LocalTime.of(h, m, s, n);
    OffsetTime a = OffsetTime.of(localTime, offset);

    assertEquals(a.getTime(), localTime);
    assertEquals(a.getOffset(), offset);
    assertEquals(a.toString(), localTime.toString() + offset.toString());
    assertEquals(a.getHour(), localTime.getHour());
    assertEquals(a.getMinute(), localTime.getMinute());
    assertEquals(a.getSecond(), localTime.getSecond());
    assertEquals(a.getNano(), localTime.getNano());
  }