assertEquals(ExternalId.of(security.getUniqueId().getScheme(), security.getUniqueId().getValue()), ids.get(0));
}
@Test
public void testCorporateBondSecurity() {
final CorporateBondSecurity security = ExposureFunctionTestHelper.getCorporateBondSecurity();
final List<ExternalId> ids = security.accept(EXPOSURE_FUNCTION);
assertEquals(1, ids.size());
assertEquals(ExternalId.of(security.getUniqueId().getScheme(), security.getUniqueId().getValue()), ids.get(0));
}