예제 #1
0
 // -------------------------------------------------------------------------
 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);
 }
예제 #2
0
 public void test_serialization() {
   TermDepositTrade test =
       TermDepositTrade.builder().product(DEPOSIT).tradeInfo(TRADE_INFO).build();
   assertSerialization(test);
 }
예제 #3
0
 // -------------------------------------------------------------------------
 public void test_builder() {
   TermDepositTrade test =
       TermDepositTrade.builder().product(DEPOSIT).tradeInfo(TRADE_INFO).build();
   assertEquals(test.getProduct(), DEPOSIT);
   assertEquals(test.getTradeInfo(), TRADE_INFO);
 }