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