final String name2 = "YC2";
final Map<String, List<DoublesPair>> yieldCurveSensitivities1 = new HashMap<>();
yieldCurveSensitivities1.put(name1, Arrays.asList(new DoublesPair(1., 2.), new DoublesPair(3.5, 6.8)));
yieldCurveSensitivities1.put(name2, Arrays.asList(new DoublesPair(11., 12.), new DoublesPair(13.5, 16.8), new DoublesPair(45., 12.)));
final Map<String, List<ForwardSensitivity>> forwardCurveSensitivities1 = new HashMap<>();
forwardCurveSensitivities1.put(name1, Arrays.asList(new ForwardSensitivity(1, 5, 0.25, 10), new ForwardSensitivity(2, 3, 0.215, 20), new ForwardSensitivity(3, 9, 0.225, 30)));
forwardCurveSensitivities1.put(name2, Arrays.asList(new ForwardSensitivity(0.1, 4, 0.5, 10)));
final MulticurveSensitivity sensitivities1 = MulticurveSensitivity.of(yieldCurveSensitivities1, forwardCurveSensitivities1);
final Map<String, List<DoublesPair>> priceCurveSensitivities1 = new HashMap<>();
priceCurveSensitivities1.put("PC1", Arrays.asList(new DoublesPair(1.2, 2.3), new DoublesPair(3.4, 4.5)));
priceCurveSensitivities1.put("PC2", Arrays.asList(new DoublesPair(9.8, 8.7), new DoublesPair(5.4, 3.2), new DoublesPair(2.33, 3.44)));
final InflationSensitivity is1 = InflationSensitivity.of(sensitivities1, priceCurveSensitivities1);
final String name3 = "YC3";
final String name4 = "YC4";
final Map<String, List<DoublesPair>> yieldCurveSensitivities2 = new HashMap<>();
yieldCurveSensitivities2.put(name3, Arrays.asList(new DoublesPair(10., 20.)));
yieldCurveSensitivities2.put(name4, Arrays.asList(new DoublesPair(110., 120.), new DoublesPair(13.51, 16.81), new DoublesPair(45.3, 12.3)));
final Map<String, List<ForwardSensitivity>> forwardCurveSensitivities2 = new HashMap<>();
forwardCurveSensitivities2.put(name3, Arrays.asList(new ForwardSensitivity(18, 58, 0.258, 108), new ForwardSensitivity(32, 92, 0.2252, 302)));
forwardCurveSensitivities2.put(name4, Arrays.asList(new ForwardSensitivity(0.18, 48, 0.58, 18)));
final MulticurveSensitivity sensitivities2 = MulticurveSensitivity.of(yieldCurveSensitivities2, forwardCurveSensitivities2);
final Map<String, List<DoublesPair>> priceCurveSensitivities2 = new HashMap<>();
priceCurveSensitivities1.put("PC3", Arrays.asList(new DoublesPair(1.21, 2.31), new DoublesPair(3.41, 4.51)));
priceCurveSensitivities1.put("PC4", Arrays.asList(new DoublesPair(9.81, 8.71), new DoublesPair(5.41, 3.21), new DoublesPair(2.331, 3.441)));
final InflationSensitivity is2 = InflationSensitivity.of(sensitivities2, priceCurveSensitivities2);