public void test_get_DateTimeField() {

    OffsetDate test = OffsetDate.of(2008, 6, 30, OFFSET_PONE);
    assertEquals(test.getLong(ChronoField.YEAR), 2008);
    assertEquals(test.getLong(ChronoField.MONTH_OF_YEAR), 6);
    assertEquals(test.getLong(ChronoField.DAY_OF_MONTH), 30);
    assertEquals(test.getLong(ChronoField.DAY_OF_WEEK), 1);
    assertEquals(test.getLong(ChronoField.DAY_OF_YEAR), 182);

    assertEquals(test.getLong(ChronoField.OFFSET_SECONDS), 3600);
  }

  @Test(dataProvider = "invalidFields", expectedExceptions = DateTimeException.class, groups = { "tck" }