final List<String> exposureFunctions = Arrays.asList("Currency", "Security", "Security Type", "Region");
final Map<ExternalId, String> idsToNames = new HashMap<>();
idsToNames.put(ExternalId.of("SecurityType", "SWAP_USD"), "CurveConfig1");
idsToNames.put(ExternalId.of("Currency", "USD"), "CurveConfig2");
idsToNames.put(ExternalId.of("Region", "SWAP_US"), "CurveConfig3");
final ExposureFunctions ef = new ExposureFunctions(name, exposureFunctions, idsToNames);
assertEquals(ef, cycleObject(ExposureFunctions.class, ef));
}