### Question:
StringUtils { public static String dashize(String word) { return underscore(word).replaceAll("[_ ]+", "-"); }  static String underscore(final String word); static String dashize(String word); static String camelize(String word); static String camelize(final String inputWord, boolean lowercaseFirstLetter); static String escape(final String name, final Map<String, String> replacementMap,
                                final List<String> charactersToAllow, final String appendToReplacement); static final String NAME_CACHE_SIZE_PROPERTY; static final String NAME_CACHE_EXPIRY_PROPERTY; }### Answer:
@Test public void testDashize() { Assert.assertEquals(dashize("abcd"), "abcd"); Assert.assertEquals(dashize("some-value"), "some-value"); Assert.assertEquals(dashize("some_value"), "some-value"); Assert.assertEquals(dashize("Foo_Response__links"), "foo-response-links"); Assert.assertEquals(dashize("Foo Response _links"), "foo-response-links"); }