assertEquals(ExternalId.of(SCHEME, "DE"), ids.get(0));
}
@Test
public void testXCcySwapSecurity() {
final SwapSecurity security = ExposureFunctionTestHelper.getXCcySwapSecurity();
final List<ExternalId> ids = security.accept(EXPOSURE_FUNCTION);
assertEquals(2, ids.size());
assertTrue(ids.containsAll(Arrays.asList(ExternalId.of(SCHEME, "DE"), ExternalId.of(SCHEME, "US"))));
}