### Question:
ResolvedOvernightFuture implements ResolvedProduct, ImmutableBean, Serializable { public static ResolvedOvernightFuture.Builder builder() { return new ResolvedOvernightFuture.Builder(); } ResolvedOvernightFuture(
      SecurityId securityId,
      Currency currency,
      double notional,
      double accrualFactor,
      LocalDate lastTradeDate,
      OvernightRateComputation overnightRate,
      Rounding rounding); OvernightIndex getIndex(); static ResolvedOvernightFuture.Meta meta(); static ResolvedOvernightFuture.Builder builder(); @Override ResolvedOvernightFuture.Meta metaBean(); SecurityId getSecurityId(); Currency getCurrency(); double getNotional(); double getAccrualFactor(); LocalDate getLastTradeDate(); OvernightRateComputation getOvernightRate(); Rounding getRounding(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ResolvedOvernightFuture test1 = ResolvedOvernightFuture.builder() .currency(USD) .accrualFactor(ACCRUAL_FACTOR_1M) .lastTradeDate(LAST_TRADE_DATE) .overnightRate(RATE_COMPUTATION) .notional(NOTIONAL) .rounding(ROUNDING) .securityId(SECURITY_ID) .build(); coverImmutableBean(test1); ResolvedOvernightFuture test2 = ResolvedOvernightFuture.builder() .currency(GBP) .accrualFactor(0.25) .lastTradeDate(date(2018, 9, 28)) .overnightRate(OvernightRateComputation.of( GBP_SONIA, date(2018, 9, 1), date(2018, 9, 30), 0, OvernightAccrualMethod.AVERAGED_DAILY, REF_DATA)) .notional(1.0e8) .securityId(SecurityId.of("OG-Test", "OnFuture2")) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedOvernightFuture test = ResolvedOvernightFuture.builder() .currency(USD) .accrualFactor(ACCRUAL_FACTOR_1M) .lastTradeDate(LAST_TRADE_DATE) .overnightRate(RATE_COMPUTATION) .notional(NOTIONAL) .rounding(ROUNDING) .securityId(SECURITY_ID) .build(); assertSerialization(test); }