assertTrue(ids.containsAll(Arrays.asList(ExternalId.of(SCHEME, "SWAP_US"), ExternalId.of(SCHEME, "SWAP_DE"))));
}
@Test
public void testPayYoYInflationSwapSecurity() {
final YearOnYearInflationSwapSecurity security = ExposureFunctionTestHelper.getPayYoYInflationSwapSecurity();
final List<ExternalId> ids = security.accept(EXPOSURE_FUNCTION);
assertEquals(1, ids.size());
assertEquals(ExternalId.of(SCHEME, "YEAR_ON_YEAR_INFLATION_SWAP_US"), ids.get(0));
}