public static String humanize(String s) {
        String[] strings = StringUtils.splitByCharacterTypeCamelCase(s);
        for (int i = 0; i < strings.length; i++) {
            String string = strings[i];
            strings[i] = string.toLowerCase();
        }
        return StringUtils.join(strings, " ");
    }
@Test
    public void shouldHumanize() throws Exception {
        assertThat(humanize("camelCase"), is("camel case"));
        assertThat(humanize("camel"), is("camel"));
        assertThat(humanize("camelCaseForALongString"), is("camel case for a long string"));
    }