### Question:
YearMonthDateParameterMetadata implements DatedParameterMetadata, ImmutableBean, Serializable { public static YearMonthDateParameterMetadata of(LocalDate date, YearMonth yearMonth) { ArgChecker.notNull(date, "date"); ArgChecker.notNull(yearMonth, "yearMonth"); return new YearMonthDateParameterMetadata(date, yearMonth, yearMonth.format(FORMATTER)); } private  YearMonthDateParameterMetadata(
      LocalDate date,
      YearMonth yearMonth,
      String label); static YearMonthDateParameterMetadata of(LocalDate date, YearMonth yearMonth); static YearMonthDateParameterMetadata of(LocalDate date, YearMonth yearMonth, String label); @Override YearMonth getIdentifier(); static YearMonthDateParameterMetadata.Meta meta(); @Override YearMonthDateParameterMetadata.Meta metaBean(); @Override LocalDate getDate(); YearMonth getYearMonth(); @Override String getLabel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { YearMonthDateParameterMetadata test = YearMonthDateParameterMetadata.of(DATE, JAN2015); coverImmutableBean(test); YearMonthDateParameterMetadata test2 = YearMonthDateParameterMetadata.of(date(2014, 1, 1), YearMonth.of(2016, 2)); coverBeanEquals(test, test2); }
@Test public void test_serialization() { YearMonthDateParameterMetadata test = YearMonthDateParameterMetadata.of(DATE, JAN2015); assertSerialization(test); }