public void test_atDay_leapYear() {

    Year test = Year.of(2008);
    LocalDate expected = LocalDate.of(2008, 1, 1);
    for (int i = 1; i <= 366; i++) {
      assertEquals(test.atDay(i), expected);
      expected = expected.plusDays(1);
    }
  }

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