public void factory_parse_formatter() {

    DateTimeFormatter f = DateTimeFormatters.pattern("y M");
    YearMonth test = YearMonth.parse("2010 12", f);
    assertEquals(test, YearMonth.of(2010, 12));
  }

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