private static InputProvider getUnderscoreToSpaceInput(final String cmd) {
        val input = new Input() {
            @Override
            public String rawText() {
                return StringUtils.replace(cmd, "_", " ");
            }

            @Override
            public List<String> words() {
                return Arrays.asList(cmd.split("_"));
            }
        };
        return () -> input;
    }
This is {@link ValidateLdapConnectionCommandTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-shell/src/test/java/org/apereo/cas/shell/commands/util/ValidateLdapConnectionCommandTests.java