public virtual void test_resolve_noTradeOrSettlementDate()
        {
            CapitalIndexedBondTrade test = CapitalIndexedBondTrade.builder().info(TradeInfo.empty()).product(PRODUCT).quantity(QUANTITY).price(PRICE).build();

            assertThrows(() => test.resolve(REF_DATA), typeof(System.InvalidOperationException));
        }
        public virtual void test_resolve_invalid()
        {
            CapitalIndexedBondTrade test = sut().toBuilder().info(TRADE_INFO_EARLY).build();

            assertThrowsIllegalArg(() => test.resolve(REF_DATA));
        }