@Test
public void testEquityIndexFutureOptionSecurity() {
final EquityFutureSecurity underlying = ExposureFunctionTestHelper.getEquityFutureSecurity();
final ExposureFunction exposureFunction = new ContractCategoryExposureFunction(ExposureFunctionTestHelper.getSecuritySource(underlying));
final EquityIndexFutureOptionSecurity security = ExposureFunctionTestHelper.getEquityIndexFutureOptionSecurity();
final List<ExternalId> ids = security.accept(exposureFunction);
assertEquals(1, ids.size());
assertEquals(ExternalId.of(ExposureFunction.CONTRACT_IDENTIFIER, "Equity"), ids.get(0));
}
@Test