### Question:
PriceIndexObservation implements IndexObservation, ImmutableBean, Serializable { public static PriceIndexObservation of(PriceIndex index, YearMonth fixingMonth) { return new PriceIndexObservation(index, fixingMonth); } private  PriceIndexObservation(
      PriceIndex index,
      YearMonth fixingMonth); static PriceIndexObservation of(PriceIndex index, YearMonth fixingMonth); Currency getCurrency(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static PriceIndexObservation.Meta meta(); @Override PriceIndexObservation.Meta metaBean(); @Override PriceIndex getIndex(); YearMonth getFixingMonth();  }### Answer:
@Test public void coverage() { PriceIndexObservation test = PriceIndexObservation.of(GB_HICP, FIXING_MONTH); coverImmutableBean(test); PriceIndexObservation test2 = PriceIndexObservation.of(CH_CPI, FIXING_MONTH.plusMonths(1)); coverBeanEquals(test, test2); }
@Test public void test_serialization() { PriceIndexObservation test = PriceIndexObservation.of(GB_HICP, FIXING_MONTH); assertSerialization(test); }