public void test_toString_formatter() {

    DateTimeFormatter f = DateTimeFormatters.pattern("y M");
    String t = YearMonth.of(2010, 12).toString(f);
    assertEquals(t, "2010 12");
  }

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