### Question:
DocGeneratorUtil { static String normalizeDurationValue(String value) { if (!value.isEmpty() && Character.isDigit(value.charAt(value.length() - 1))) { try { value = Integer.parseInt(value) + "S"; } catch (NumberFormatException ignore) { } } value = value.toUpperCase(Locale.ROOT); return value; }  static String computeExtensionDocFileName(String configRoot); static String computeExtensionGeneralConfigDocFileName(String configRoot); static String computeConfigGroupDocFileName(String configGroupClassName); static String computeConfigRootDocFileName(String configRootClassName, String rootName); static void appendConfigItemsIntoExistingOnes(List<ConfigDocItem> existingConfigItems,
            List<ConfigDocItem> configDocItems); static void sort(List<ConfigDocItem> configDocItems); static final String LEVEL_HACK_URL; }### Answer:
@Test public void normalizeDurationValueTest() { assertEquals("", normalizeDurationValue("")); assertEquals("1S", normalizeDurationValue("1")); assertEquals("1S", normalizeDurationValue("1S")); assertEquals("1S", normalizeDurationValue("1s")); assertEquals("1_000", normalizeDurationValue("1_000")); assertEquals("FOO", normalizeDurationValue("foo")); }