// ------------------------------------------------------------------------- public void coverage() { TermDepositTrade test1 = TermDepositTrade.builder().product(DEPOSIT).tradeInfo(TRADE_INFO).build(); coverImmutableBean(test1); TermDepositTrade test2 = TermDepositTrade.builder().product(DEPOSIT).build(); coverBeanEquals(test1, test2); }
public void test_serialization() { TermDepositTrade test = TermDepositTrade.builder().product(DEPOSIT).tradeInfo(TRADE_INFO).build(); assertSerialization(test); }
// ------------------------------------------------------------------------- public void test_builder() { TermDepositTrade test = TermDepositTrade.builder().product(DEPOSIT).tradeInfo(TRADE_INFO).build(); assertEquals(test.getProduct(), DEPOSIT); assertEquals(test.getTradeInfo(), TRADE_INFO); }