### Question:
FxReset implements ImmutableBean, Serializable { public static FxReset of(FxIndexObservation observation, Currency referenceCurrency) { return new FxReset(observation, referenceCurrency); } private  FxReset(
      FxIndexObservation observation,
      Currency referenceCurrency); static FxReset of(FxIndexObservation observation, Currency referenceCurrency); FxIndex getIndex(); static FxReset.Meta meta(); @Override FxReset.Meta metaBean(); FxIndexObservation getObservation(); Currency getReferenceCurrency(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { FxReset test = FxReset.of(FxIndexObservation.of(EUR_GBP_ECB, DATE_2014_06_30, REF_DATA), GBP); coverImmutableBean(test); FxReset test2 = FxReset.of(FxIndexObservation.of(EUR_USD_ECB, date(2014, 1, 15), REF_DATA), USD); coverBeanEquals(test, test2); FxReset test3 = FxReset.of(FxIndexObservation.of(EUR_USD_ECB, date(2014, 1, 15), REF_DATA), EUR); coverBeanEquals(test2, test3); }
@Test public void test_serialization() { FxReset test = FxReset.of(FxIndexObservation.of(EUR_GBP_ECB, DATE_2014_06_30, REF_DATA), GBP); assertSerialization(test); }