### Question:
InflationEndMonthRateComputation implements RateComputation, ImmutableBean, Serializable { public static InflationEndMonthRateComputation of( PriceIndex index, double startIndexValue, YearMonth referenceEndMonth) { return new InflationEndMonthRateComputation(startIndexValue, PriceIndexObservation.of(index, referenceEndMonth)); } private  InflationEndMonthRateComputation(
      double startIndexValue,
      PriceIndexObservation endObservation); static InflationEndMonthRateComputation of(
      PriceIndex index,
      double startIndexValue,
      YearMonth referenceEndMonth); PriceIndex getIndex(); @Override void collectIndices(ImmutableSet.Builder<Index> builder); static InflationEndMonthRateComputation.Meta meta(); @Override InflationEndMonthRateComputation.Meta metaBean(); double getStartIndexValue(); PriceIndexObservation getEndObservation(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { InflationEndMonthRateComputation test1 = InflationEndMonthRateComputation.of(GB_HICP, START_INDEX, END_MONTH); coverImmutableBean(test1); InflationEndMonthRateComputation test2 = InflationEndMonthRateComputation.of(CH_CPI, 2324d, YearMonth.of(2015, 4)); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { InflationEndMonthRateComputation test = InflationEndMonthRateComputation.of(GB_HICP, START_INDEX, END_MONTH); assertSerialization(test); }