### Question:
FxSingleBarrierOptionTrade implements FxTrade, ResolvableTrade<ResolvedFxSingleBarrierOptionTrade>, ImmutableBean, Serializable { public static FxSingleBarrierOptionTrade.Builder builder() { return new FxSingleBarrierOptionTrade.Builder(); } private  FxSingleBarrierOptionTrade(
      TradeInfo info,
      FxSingleBarrierOption product,
      AdjustablePayment premium); @Override FxSingleBarrierOptionTrade withInfo(PortfolioItemInfo info); @Override PortfolioItemSummary summarize(); @Override ResolvedFxSingleBarrierOptionTrade resolve(ReferenceData refData); static FxSingleBarrierOptionTrade.Meta meta(); static FxSingleBarrierOptionTrade.Builder builder(); @Override FxSingleBarrierOptionTrade.Meta metaBean(); @Override TradeInfo getInfo(); @Override FxSingleBarrierOption getProduct(); AdjustablePayment getPremium(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { FxSingleBarrierOptionTrade test1 = sut(); FxSingleBarrierOptionTrade test2 = FxSingleBarrierOptionTrade.builder() .product(FxSingleBarrierOption.of(VANILLA_OPTION, BARRIER)) .premium(AdjustablePayment.of(CurrencyAmount.of(EUR, NOTIONAL * 0.01), date(2014, 11, 13))) .build(); coverImmutableBean(test1); coverBeanEquals(test1, test2); }