### Question:
SwaptionSurfaceExpiryTenorParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable { public static SwaptionSurfaceExpiryTenorParameterMetadata of( double yearFraction, double tenor) { String label = Pair.of(yearFraction, tenor).toString(); return new SwaptionSurfaceExpiryTenorParameterMetadata(yearFraction, tenor, label); } private  SwaptionSurfaceExpiryTenorParameterMetadata(
      double yearFraction,
      double tenor,
      String label); static SwaptionSurfaceExpiryTenorParameterMetadata of(
      double yearFraction,
      double tenor); static SwaptionSurfaceExpiryTenorParameterMetadata of(
      double yearFraction,
      double tenor,
      String label); @Override Pair<Double, Double> getIdentifier(); static SwaptionSurfaceExpiryTenorParameterMetadata.Meta meta(); @Override SwaptionSurfaceExpiryTenorParameterMetadata.Meta metaBean(); double getYearFraction(); double getTenor(); @Override String getLabel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { SwaptionSurfaceExpiryTenorParameterMetadata test1 = SwaptionSurfaceExpiryTenorParameterMetadata.of(TIME_TO_EXPIRY, TENOR); coverImmutableBean(test1); SwaptionSurfaceExpiryTenorParameterMetadata test2 = SwaptionSurfaceExpiryTenorParameterMetadata.of(2.5d, 60d, "(2.5, 60)"); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { SwaptionSurfaceExpiryTenorParameterMetadata test = SwaptionSurfaceExpiryTenorParameterMetadata.of(TIME_TO_EXPIRY, TENOR); assertSerialization(test); }