protected Object runShellCommand(final InputProvider inputProvider) {
        val method = ReflectionUtils.findMethod(shell.getClass(), "evaluate", Input.class);
        assertDoesNotThrow(() -> Objects.requireNonNull(method).trySetAccessible());
        return assertDoesNotThrow(() -> ReflectionUtils.invokeMethod(Objects.requireNonNull(method), shell, inputProvider.readInput()));
    }
This is {@link BaseCasShellCommandTests}.

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