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