### Question:
TenorTenorParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable { public static TenorTenorParameterMetadata of(Tenor expiryTenor, Tenor underlyingTenor) { String label = Pair.of(expiryTenor, underlyingTenor).toString(); return new TenorTenorParameterMetadata(expiryTenor, underlyingTenor, label); } private  TenorTenorParameterMetadata(
      Tenor expiryTenor,
      Tenor underlyingTenor,
      String label); static TenorTenorParameterMetadata of(Tenor expiryTenor, Tenor underlyingTenor); static TenorTenorParameterMetadata of(Tenor expiryTenor, Tenor underlyingTenor, String label); @Override Pair<Tenor, Tenor> getIdentifier(); static TenorTenorParameterMetadata.Meta meta(); @Override TenorTenorParameterMetadata.Meta metaBean(); Tenor getExpiryTenor(); Tenor getUnderlyingTenor(); @Override String getLabel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { TenorTenorParameterMetadata test = TenorTenorParameterMetadata.of(TENOR_10Y, TENOR_20Y); coverImmutableBean(test); TenorTenorParameterMetadata test2 = TenorTenorParameterMetadata.of(TENOR_30Y, TENOR_40Y); coverBeanEquals(test, test2); }
@Test public void test_serialization() { TenorTenorParameterMetadata test = TenorTenorParameterMetadata.of(TENOR_10Y, TENOR_20Y); assertSerialization(test); }