final String[] curvesName = {creditCruveName, repoCurveName };
final BondFixedSecurity[] basket = new BondFixedSecurity[NB_BOND];
for (int loopbasket = 0; loopbasket < NB_BOND; loopbasket++) {
basket[loopbasket] = BASKET_DEFINITION[loopbasket].toDerivative(referenceDate, lastDeliveryDate, curvesName);
}
final BondFuturesSecurity futureConverted = FUTURE_DEFINITION.toDerivative(referenceDate, curvesName);
final BondFuturesSecurity futureExpected = new BondFuturesSecurity(lastTradingTime, firstNoticeTime, lastNoticeTime, firstDeliveryTime, lastDeliveryTime, NOTIONAL, basket, CONVERSION_FACTOR);
assertEquals("Bond future security definition: future conversion", futureExpected, futureConverted);
}