}
@Test
public void testFXBarrierOptionSecurity() {
final FXBarrierOptionSecurity security = ExposureFunctionTestHelper.getFXBarrierOptionSecurity();
final List<ExternalId> ids = security.accept(EXPOSURE_FUNCTION);
assertEquals(2, ids.size());
assertTrue(ids.containsAll(Arrays.asList(ExternalId.of(SCHEME, "FX_BARRIER_OPTION_USD"), ExternalId.of(SCHEME, "FX_BARRIER_OPTION_EUR"))));
}
@Test