### Question:
BlackFxOptionFlatVolatilities implements BlackFxOptionVolatilities, ImmutableBean, Serializable { public static BlackFxOptionFlatVolatilities of( CurrencyPair currencyPair, ZonedDateTime valuationDateTime, Curve curve) { return new BlackFxOptionFlatVolatilities(currencyPair, valuationDateTime, curve); } @ImmutableConstructor private  BlackFxOptionFlatVolatilities(
      CurrencyPair currencyPair,
      ZonedDateTime valuationDateTime,
      Curve curve); static BlackFxOptionFlatVolatilities of(
      CurrencyPair currencyPair,
      ZonedDateTime valuationDateTime,
      Curve curve); @Override FxOptionVolatilitiesName getName(); @Override Optional<T> findData(MarketDataName<T> name); @Override int getParameterCount(); @Override double getParameter(int parameterIndex); @Override ParameterMetadata getParameterMetadata(int parameterIndex); @Override OptionalInt findParameterIndex(ParameterMetadata metadata); @Override BlackFxOptionFlatVolatilities withParameter(int parameterIndex, double newValue); @Override BlackFxOptionFlatVolatilities withPerturbation(ParameterPerturbation perturbation); @Override double volatility(CurrencyPair currencyPair, double expiry, double strike, double forward); @Override CurrencyParameterSensitivities parameterSensitivity(PointSensitivities pointSensitivities); @Override double price(double expiry, PutCall putCall, double strike, double forward, double volatility); @Override double relativeTime(ZonedDateTime dateTime); static BlackFxOptionFlatVolatilities.Meta meta(); static BlackFxOptionFlatVolatilities.Builder builder(); @Override BlackFxOptionFlatVolatilities.Meta metaBean(); @Override CurrencyPair getCurrencyPair(); @Override ZonedDateTime getValuationDateTime(); Curve getCurve(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { BlackFxOptionFlatVolatilities test1 = BlackFxOptionFlatVolatilities.of(CURRENCY_PAIR, VAL_DATE_TIME, CURVE); coverImmutableBean(test1); BlackFxOptionFlatVolatilities test2 = BlackFxOptionFlatVolatilities.of( CURRENCY_PAIR.inverse(), ZonedDateTime.of(2015, 12, 21, 11, 15, 0, 0, ZoneId.of("Z")), CURVE); coverBeanEquals(test1, test2); }