### Question:
ZeroRateSensitivity implements PointSensitivity, PointSensitivityBuilder, ImmutableBean, Serializable { public static ZeroRateSensitivity of(Currency currency, double yearFraction, double sensitivity) { return new ZeroRateSensitivity(currency, yearFraction, currency, sensitivity); } private  ZeroRateSensitivity(
      Currency curveCurrency,
      double yearFraction,
      Currency currency,
      double sensitivity); static ZeroRateSensitivity of(Currency currency, double yearFraction, double sensitivity); static ZeroRateSensitivity of(
      Currency curveCurrency,
      double yearFraction,
      Currency sensitivityCurrency,
      double sensitivity); @Override ZeroRateSensitivity withCurrency(Currency currency); @Override ZeroRateSensitivity withSensitivity(double sensitivity); @Override int compareKey(PointSensitivity other); @Override ZeroRateSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider); @Override ZeroRateSensitivity multipliedBy(double factor); @Override ZeroRateSensitivity mapSensitivity(DoubleUnaryOperator operator); @Override ZeroRateSensitivity normalize(); @Override MutablePointSensitivities buildInto(MutablePointSensitivities combination); @Override ZeroRateSensitivity cloned(); static ZeroRateSensitivity.Meta meta(); @Override ZeroRateSensitivity.Meta metaBean(); Currency getCurveCurrency(); double getYearFraction(); @Override Currency getCurrency(); @Override double getSensitivity(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_combinedWith() { ZeroRateSensitivity base1 = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d); ZeroRateSensitivity base2 = ZeroRateSensitivity.of(GBP, YEARFRAC2, 22d); MutablePointSensitivities expected = new MutablePointSensitivities(); expected.add(base1).add(base2); PointSensitivityBuilder test = base1.combinedWith(base2); assertThat(test).isEqualTo(expected); }
@Test public void test_combinedWith_mutable() { ZeroRateSensitivity base = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d); MutablePointSensitivities expected = new MutablePointSensitivities(); expected.add(base); PointSensitivityBuilder test = base.combinedWith(new MutablePointSensitivities()); assertThat(test).isEqualTo(expected); }
@Test public void test_build() { ZeroRateSensitivity base = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d); PointSensitivities test = base.build(); assertThat(test.getSensitivities()).containsExactly(base); }
@Test public void coverage() { ZeroRateSensitivity test = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d); coverImmutableBean(test); ZeroRateSensitivity test2 = ZeroRateSensitivity.of(USD, YEARFRAC2, 16d); coverBeanEquals(test, test2); }
@Test public void test_serialization() { ZeroRateSensitivity test = ZeroRateSensitivity.of(GBP, YEARFRAC, 32d); assertSerialization(test); }