示例#1
0
        public virtual void test_builder()
        {
            IborFixingDepositTrade test = IborFixingDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build();

            assertEquals(test.Product, DEPOSIT);
            assertEquals(test.Info, TRADE_INFO);
        }
示例#2
0
        //-------------------------------------------------------------------------
        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);
        }
示例#3
0
        public virtual void test_serialization()
        {
            IborFixingDepositTrade test = IborFixingDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build();

            assertSerialization(test);
        }