### Question:
ResolvedOvernightFutureTrade implements ResolvedTrade, ImmutableBean, Serializable { public static ResolvedOvernightFutureTrade.Builder builder() { return new ResolvedOvernightFutureTrade.Builder(); } ResolvedOvernightFutureTrade(
      PortfolioItemInfo info,
      ResolvedOvernightFuture product,
      double quantity,
      TradedPrice tradedPrice); static ResolvedOvernightFutureTrade.Meta meta(); static ResolvedOvernightFutureTrade.Builder builder(); @Override ResolvedOvernightFutureTrade.Meta metaBean(); @Override PortfolioItemInfo getInfo(); @Override ResolvedOvernightFuture getProduct(); double getQuantity(); Optional<TradedPrice> getTradedPrice(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ResolvedOvernightFutureTrade test1 = ResolvedOvernightFutureTrade.builder() .info(TRADE_INFO) .product(PRODUCT) .quantity(QUANTITY) .tradedPrice(TradedPrice.of(TRADE_DATE, PRICE)) .build(); coverImmutableBean(test1); ResolvedOvernightFutureTrade test2 = ResolvedOvernightFutureTrade.builder() .info(TradeInfo.empty()) .product(PRODUCT2) .quantity(QUANTITY2) .tradedPrice(TradedPrice.of(TRADE_DATE, PRICE2)) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedOvernightFutureTrade test = ResolvedOvernightFutureTrade.builder() .info(TRADE_INFO) .product(PRODUCT) .quantity(QUANTITY) .tradedPrice(TradedPrice.of(TRADE_DATE, PRICE)) .build(); assertSerialization(test); }