### Question:
ResolvedFxSingleBarrierOptionTrade implements ResolvedTrade, ImmutableBean, Serializable { public static ResolvedFxSingleBarrierOptionTrade.Builder builder() { return new ResolvedFxSingleBarrierOptionTrade.Builder(); } private  ResolvedFxSingleBarrierOptionTrade(
      TradeInfo info,
      ResolvedFxSingleBarrierOption product,
      Payment premium); static ResolvedFxSingleBarrierOptionTrade.Meta meta(); static ResolvedFxSingleBarrierOptionTrade.Builder builder(); @Override ResolvedFxSingleBarrierOptionTrade.Meta metaBean(); @Override TradeInfo getInfo(); @Override ResolvedFxSingleBarrierOption getProduct(); Payment getPremium(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ResolvedFxSingleBarrierOptionTrade test1 = ResolvedFxSingleBarrierOptionTrade.builder() .info(TRADE_INFO) .product(PRODUCT) .premium(PREMIUM) .build(); ResolvedFxSingleBarrierOptionTrade test2 = ResolvedFxSingleBarrierOptionTrade.builder() .product(ResolvedFxSingleBarrierOption.of(VANILLA_OPTION, BARRIER)) .premium(Payment.of(CurrencyAmount.of(EUR, NOTIONAL * 0.01), date(2014, 11, 13))) .build(); coverImmutableBean(test1); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedFxSingleBarrierOptionTrade test = ResolvedFxSingleBarrierOptionTrade.builder() .info(TRADE_INFO) .product(PRODUCT) .premium(PREMIUM) .build(); assertSerialization(test); }