private static final ExposureFunction EXPOSURE_FUNCTION = new SecurityAndCurrencyExposureFunction(ExposureFunctionTestHelper.getSecuritySource(null));
@Test
public void testAgriculturalFutureSecurity() {
final AgricultureFutureSecurity future = ExposureFunctionTestHelper.getAgricultureFutureSecurity();
final List<ExternalId> ids = future.accept(EXPOSURE_FUNCTION);
assertEquals(1, ids.size());
assertEquals(ExternalId.of(SCHEME, "FUTURE_USD"), ids.get(0));
}
@Test