public virtual void test_withPrice()
        {
            OvernightFutureTrade @base = OvernightFutureTrade.builder().info(TRADE_INFO).product(PRODUCT).quantity(QUANTITY).price(PRICE).build();
            double price = 0.95;
            OvernightFutureTrade computed = @base.withPrice(price);
            OvernightFutureTrade expected = OvernightFutureTrade.builder().info(TRADE_INFO).product(PRODUCT).quantity(QUANTITY).price(price).build();

            assertEquals(computed, expected);
        }
        //-------------------------------------------------------------------------
        public virtual void test_builder()
        {
            OvernightFutureTrade test = OvernightFutureTrade.builder().info(TRADE_INFO).product(PRODUCT).quantity(QUANTITY).price(PRICE).build();

            assertEquals(test.Info, TRADE_INFO);
            assertEquals(test.Product, PRODUCT);
            assertEquals(test.Price, PRICE);
            assertEquals(test.Quantity, QUANTITY);
            assertEquals(test.withInfo(TRADE_INFO).Info, TRADE_INFO);
            assertEquals(test.withQuantity(0.9129).Quantity, 0.9129d, 1e-10);
            assertEquals(test.withPrice(0.9129).Price, 0.9129d, 1e-10);
        }