public static int length(final CharSequence cs) {
        return cs == null ? 0 : cs.length();
    }
@Test
    void testLength() throws Exception {
        assertThat(StringUtils.length(null), equalTo(0));
        assertThat(StringUtils.length("abc"), equalTo(3));
    }