### Question:
CurrencyParameterSensitivityValueFormatter implements ValueFormatter<CurrencyParameterSensitivity> { @Override public String formatForDisplay(CurrencyParameterSensitivity sensitivity) { return getSensitivityString(sensitivity, doubleFormatter::formatForDisplay, true); } private  CurrencyParameterSensitivityValueFormatter(); @Override String formatForCsv(CurrencyParameterSensitivity sensitivity); @Override String formatForDisplay(CurrencyParameterSensitivity sensitivity);  }### Answer:
@Test public void formatForDisplay() { CurrencyParameterSensitivity sensitivity = CurrencyParameterSensitivity.of(CurveName.of("foo"), Currency.AED, DoubleArray.of(1, 2, 3)); String str = CurrencyParameterSensitivityValueFormatter.INSTANCE.formatForDisplay(sensitivity); assertThat(str).isEqualTo("1 = 1.00 | 2 = 2.00 | 3 = 3.00 "); }