@Test
public void testEquityIndexDividendFutureOptionSecurity() {
final EquityIndexDividendFutureSecurity underlying = ExposureFunctionTestHelper.getEquityIndexDividendFutureSecurity();
final ExposureFunction exposureFunction = new ContractCategoryExposureFunction(ExposureFunctionTestHelper.getSecuritySource(underlying));
final EquityIndexDividendFutureOptionSecurity security = ExposureFunctionTestHelper.getEquityIndexDividendFutureOptionSecurity();
final List<ExternalId> ids = security.accept(exposureFunction);
assertEquals(1, ids.size());
assertEquals(ExternalId.of(ExposureFunction.CONTRACT_IDENTIFIER, "Equity Index"), ids.get(0));
}
@Test