@Test
public void testEquityIndexOptionSecurity() {
final EquitySecurity underlying = ExposureFunctionTestHelper.getEquitySecurity();
final ExposureFunction exposureFunction = new ContractCategoryExposureFunction(ExposureFunctionTestHelper.getSecuritySource(underlying));
final EquityIndexOptionSecurity security = ExposureFunctionTestHelper.getEquityIndexOptionSecurity();
final List<ExternalId> ids = security.accept(exposureFunction);
assertNull(ids);
}
@Test
public void testEquityOptionSecurity() {