### Question:
TenorDateParameterMetadata implements DatedParameterMetadata, TenoredParameterMetadata, ImmutableBean, Serializable { public static TenorDateParameterMetadata of(LocalDate date, Tenor tenor) { ArgChecker.notNull(date, "date"); ArgChecker.notNull(tenor, "tenor"); return new TenorDateParameterMetadata(date, tenor, tenor.toString()); } private  TenorDateParameterMetadata(
      LocalDate date,
      Tenor tenor,
      String label); static TenorDateParameterMetadata of(LocalDate date, Tenor tenor); static TenorDateParameterMetadata of(LocalDate date, Tenor tenor, String label); @Override Tenor getIdentifier(); @Override TenorDateParameterMetadata withTenor(Tenor tenor); static TenorDateParameterMetadata.Meta meta(); @Override TenorDateParameterMetadata.Meta metaBean(); @Override LocalDate getDate(); @Override Tenor getTenor(); @Override String getLabel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { TenorDateParameterMetadata test = TenorDateParameterMetadata.of(DATE, TENOR_10Y); coverImmutableBean(test); TenorDateParameterMetadata test2 = TenorDateParameterMetadata.of(date(2014, 1, 1), TENOR_12M); coverBeanEquals(test, test2); }
@Test public void test_serialization() { TenorDateParameterMetadata test = TenorDateParameterMetadata.of(DATE, TENOR_10Y); assertSerialization(test); }