public virtual void test_of_label() { YearMonthDateParameterMetadata test = YearMonthDateParameterMetadata.of(DATE, JAN2015, "Jan 2015"); assertEquals(test.Date, DATE); assertEquals(test.YearMonth, JAN2015); assertEquals(test.Label, "Jan 2015"); assertEquals(test.Identifier, JAN2015); }
//------------------------------------------------------------------------- public virtual 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); }
public virtual void test_serialization() { YearMonthDateParameterMetadata test = YearMonthDateParameterMetadata.of(DATE, JAN2015); assertSerialization(test); }