### Question:
YearsMonthsValueConverter { static String addPrefixAndSuffix(final String value) { return DurationHelper.addFunctionCall("P" + value); } @Inject  YearsMonthsValueConverter(final ClientTranslationService translationService); YearsMonthsValue fromDMNString(final String dmnString); String toDMNString(final String years,
                              final String months); String toDisplayValue(final String dmnValue);  }### Answer:
@Test public void testAddPrefixAndSuffix() { final String expected = "duration(\"P1Y2M\")"; final String input = "1Y2M"; final String actual = converter.addPrefixAndSuffix(input); assertEquals(expected, actual); }