}
@Test(expectedExceptions = OpenGammaRuntimeException.class)
public void testNoUnderlyingConventionForFuture() {
final ExternalId marketDataId = ExternalId.of(SCHEME, "Data");
final SnapshotDataBundle marketValues = new SnapshotDataBundle();
final double rate = 0.98;
marketValues.setDataPoint(marketDataId, rate);
final RateFutureNode futureNode = new RateFutureNode(1, Tenor.of(Period.ZERO), Tenor.THREE_MONTHS,
Tenor.THREE_MONTHS, RATE_FUTURE_3M_ID, ExternalId.of(SCHEME, "Test"), "Mapper");
final CurveNodeVisitor<InstrumentDefinition<?>> converter = new RateFutureNodeConverter(CONVENTION_SOURCE, HOLIDAY_SOURCE, REGION_SOURCE,
marketValues, marketDataId, NOW);
futureNode.accept(converter);