public void test_parse(int y, int month, int d, int h, int m, int s, int n, String text) {

    LocalDateTime t = LocalDateTime.parse(text);
    assertEquals(t.getYear(), y);
    assertEquals(t.getMonth().getValue(), month);
    assertEquals(t.getDayOfMonth(), d);
    assertEquals(t.getHour(), h);
    assertEquals(t.getMinute(), m);
    assertEquals(t.getSecond(), s);
    assertEquals(t.getNano(), n);
  }

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