### Question:
ResolvedCdsIndexTrade implements ResolvedTrade, ImmutableBean, Serializable { public static ResolvedCdsIndexTrade.Builder builder() { return new ResolvedCdsIndexTrade.Builder(); } private  ResolvedCdsIndexTrade(
      TradeInfo info,
      ResolvedCdsIndex product,
      Payment upfrontFee); ResolvedCdsTrade toSingleNameCds(); static ResolvedCdsIndexTrade.Meta meta(); static ResolvedCdsIndexTrade.Builder builder(); @Override ResolvedCdsIndexTrade.Meta metaBean(); @Override TradeInfo getInfo(); @Override ResolvedCdsIndex getProduct(); Optional<Payment> getUpfrontFee(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ResolvedCdsIndexTrade test1 = ResolvedCdsIndexTrade.builder() .product(PRODUCT) .upfrontFee(UPFRONT) .info(TRADE_INFO) .build(); coverImmutableBean(test1); ResolvedCdsIndex product = CdsIndex.of(BUY, INDEX_ID, LEGAL_ENTITIES, USD, 1.e9, START_DATE, END_DATE, P6M, SAT_SUN, 0.067).resolve(REF_DATA); ResolvedCdsIndexTrade test2 = ResolvedCdsIndexTrade.builder() .product(product) .info(TradeInfo.empty()) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedCdsIndexTrade test = ResolvedCdsIndexTrade.builder() .product(PRODUCT) .upfrontFee(UPFRONT) .info(TRADE_INFO) .build(); assertSerialization(test); }