//-------------------------------------------------------------------------
        public virtual void test_of()
        {
            ResolvedTermDepositTrade test = ResolvedTermDepositTrade.of(TRADE_INFO, DEPOSIT);

            assertEquals(test.Product, DEPOSIT);
            assertEquals(test.Info, TRADE_INFO);
        }
        public virtual void test_builder()
        {
            ResolvedTermDepositTrade test = ResolvedTermDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build();

            assertEquals(test.Product, DEPOSIT);
            assertEquals(test.Info, TRADE_INFO);
        }
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            ResolvedTermDepositTrade test1 = ResolvedTermDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build();

            coverImmutableBean(test1);
            ResolvedTermDepositTrade test2 = ResolvedTermDepositTrade.builder().product(DEPOSIT).build();

            coverBeanEquals(test1, test2);
        }
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         ResolvedTermDepositTrade other = (ResolvedTermDepositTrade)obj;
         return(JodaBeanUtils.equal(info, other.info) && JodaBeanUtils.equal(product, other.product));
     }
     return(false);
 }
        public virtual void test_serialization()
        {
            ResolvedTermDepositTrade test = ResolvedTermDepositTrade.builder().product(DEPOSIT).info(TRADE_INFO).build();

            assertSerialization(test);
        }