public static String[] tokenizeOnSpace(String s)
    {
        return Arrays.stream(s.split("(?<=" + StringUtil.PATTERN_SPACE + ")|(?=" + StringUtil.PATTERN_SPACE + ")"))
                .toArray(String[]::new);
    }
@Test
    void testTokenizeOnSpace_emptyString()
    {
        String[] result = StringUtil.tokenizeOnSpace("");
        assertArrayEquals(new String[] {""}, result);
    }