### Question:
InflationRateSensitivity implements PointSensitivity, PointSensitivityBuilder, ImmutableBean, Serializable { public static InflationRateSensitivity of(PriceIndexObservation observation, double sensitivity) { return new InflationRateSensitivity(observation, observation.getCurrency(), sensitivity); } private  InflationRateSensitivity(
      PriceIndexObservation observation,
      Currency currency,
      double sensitivity); static InflationRateSensitivity of(PriceIndexObservation observation, double sensitivity); static InflationRateSensitivity of(
      PriceIndexObservation observation,
      Currency sensitivityCurrency,
      double sensitivity); PriceIndex getIndex(); @Override InflationRateSensitivity withCurrency(Currency currency); @Override InflationRateSensitivity withSensitivity(double sensitivity); @Override int compareKey(PointSensitivity other); @Override InflationRateSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider); @Override InflationRateSensitivity multipliedBy(double factor); @Override InflationRateSensitivity mapSensitivity(DoubleUnaryOperator operator); @Override InflationRateSensitivity normalize(); @Override MutablePointSensitivities buildInto(MutablePointSensitivities combination); @Override InflationRateSensitivity cloned(); static InflationRateSensitivity.Meta meta(); @Override InflationRateSensitivity.Meta metaBean(); PriceIndexObservation getObservation(); @Override Currency getCurrency(); @Override double getSensitivity(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_combinedWith() { InflationRateSensitivity base1 = InflationRateSensitivity.of(CH_CPI_OBS, 5.0); InflationRateSensitivity base2 = InflationRateSensitivity.of(CH_CPI_OBS, 7.0); MutablePointSensitivities expected = new MutablePointSensitivities(); expected.add(base1).add(base2); PointSensitivityBuilder test = base1.combinedWith(base2); assertThat(test).isEqualTo(expected); }
@Test public void test_combinedWith_mutable() { InflationRateSensitivity base = InflationRateSensitivity.of(CH_CPI_OBS, 5.0); MutablePointSensitivities expected = new MutablePointSensitivities(); expected.add(base); PointSensitivityBuilder test = base.combinedWith(new MutablePointSensitivities()); assertThat(test).isEqualTo(expected); }
@Test public void test_build() { InflationRateSensitivity base = InflationRateSensitivity.of(GB_HICP_OBS, 3.5); PointSensitivities test = base.build(); assertThat(test.getSensitivities()).containsExactly(base); }
@Test public void coverage() { InflationRateSensitivity test1 = InflationRateSensitivity.of(GB_HICP_OBS, 1.0); coverImmutableBean(test1); InflationRateSensitivity test2 = InflationRateSensitivity.of(GB_HICP_OBS, GBP, 22.0); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { InflationRateSensitivity test = InflationRateSensitivity.of(GB_HICP_OBS, 1.0); assertSerialization(test); }