### Question:
SwapTrade implements ProductTrade, ResolvableTrade<ResolvedSwapTrade>, ImmutableBean, Serializable { public static SwapTrade.Builder builder() { return new SwapTrade.Builder(); } private  SwapTrade(
      TradeInfo info,
      Swap product); static SwapTrade of(TradeInfo info, Swap product); @Override SwapTrade withInfo(PortfolioItemInfo info); @Override PortfolioItemSummary summarize(); @Override ResolvedSwapTrade resolve(ReferenceData refData); static SwapTrade.Meta meta(); static SwapTrade.Builder builder(); @Override SwapTrade.Meta metaBean(); @Override TradeInfo getInfo(); @Override Swap getProduct(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { SwapTrade test = SwapTrade.builder() .info(TRADE_INFO) .product(SWAP1) .build(); coverImmutableBean(test); SwapTrade test2 = SwapTrade.builder() .product(SWAP2) .build(); coverBeanEquals(test, test2); }
@Test public void test_serialization() { SwapTrade test = SwapTrade.builder() .info(TRADE_INFO) .product(SWAP1) .build(); assertSerialization(test); }