### Question:
FxOptionSensitivity implements PointSensitivity, PointSensitivityBuilder, ImmutableBean, Serializable { public static FxOptionSensitivity of( FxOptionVolatilitiesName volatilitiesName, CurrencyPair currencyPair, double expiry, double strike, double forward, Currency sensitivityCurrency, double sensitivity) { return new FxOptionSensitivity( volatilitiesName, currencyPair, expiry, strike, forward, sensitivityCurrency, sensitivity); } private  FxOptionSensitivity(
      FxOptionVolatilitiesName volatilitiesName,
      CurrencyPair currencyPair,
      double expiry,
      double strike,
      double forward,
      Currency currency,
      double sensitivity); static FxOptionSensitivity of(
      FxOptionVolatilitiesName volatilitiesName,
      CurrencyPair currencyPair,
      double expiry,
      double strike,
      double forward,
      Currency sensitivityCurrency,
      double sensitivity); @Override FxOptionSensitivity withCurrency(Currency currency); @Override FxOptionSensitivity withSensitivity(double sensitivity); @Override int compareKey(PointSensitivity other); @Override FxOptionSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider); @Override FxOptionSensitivity multipliedBy(double factor); @Override FxOptionSensitivity mapSensitivity(DoubleUnaryOperator operator); @Override FxOptionSensitivity normalize(); @Override MutablePointSensitivities buildInto(MutablePointSensitivities combination); @Override FxOptionSensitivity cloned(); static FxOptionSensitivity.Meta meta(); @Override FxOptionSensitivity.Meta metaBean(); FxOptionVolatilitiesName getVolatilitiesName(); CurrencyPair getCurrencyPair(); double getExpiry(); double getStrike(); double getForward(); @Override Currency getCurrency(); @Override double getSensitivity(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_build() { FxOptionSensitivity base = FxOptionSensitivity.of(NAME, PAIR, EXPIRY, STRIKE, FORWARD, GBP, SENSI_VALUE); PointSensitivities test = base.build(); assertThat(test.getSensitivities()).containsExactly(base); }
@Test public void coverage() { FxOptionSensitivity test1 = FxOptionSensitivity.of(NAME, PAIR, EXPIRY, STRIKE, FORWARD, GBP, SENSI_VALUE); coverImmutableBean(test1); FxOptionSensitivity test2 = FxOptionSensitivity.of(NAME2, CurrencyPair.of(EUR, USD), EXPIRY, 0.8, 0.9, EUR, 1.1); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { FxOptionSensitivity test = FxOptionSensitivity.of(NAME, PAIR, EXPIRY, STRIKE, FORWARD, GBP, SENSI_VALUE); assertSerialization(test); }