public virtual void test_builder() { IborFixingDepositTrade test = IborFixingDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build(); assertEquals(test.Product, DEPOSIT); assertEquals(test.Info, TRADE_INFO); }
//------------------------------------------------------------------------- public virtual void coverage() { IborFixingDepositTrade test1 = IborFixingDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build(); coverImmutableBean(test1); IborFixingDepositTrade test2 = IborFixingDepositTrade.builder().product(DEPOSIT).build(); coverBeanEquals(test1, test2); }
public virtual void test_serialization() { IborFixingDepositTrade test = IborFixingDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build(); assertSerialization(test); }