public virtual void test_builder() { SwapTrade test = SwapTrade.builder().product(SWAP1).build(); assertEquals(test.Info, TradeInfo.empty()); assertEquals(test.Product, SWAP1); }
//------------------------------------------------------------------------- public virtual void coverage() { SwapTrade test = SwapTrade.builder().info(TRADE_INFO).product(SWAP1).build(); coverImmutableBean(test); SwapTrade test2 = SwapTrade.builder().product(SWAP2).build(); coverBeanEquals(test, test2); }
public virtual void test_serialization() { SwapTrade test = SwapTrade.builder().info(TRADE_INFO).product(SWAP1).build(); assertSerialization(test); }