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