@Test
    void verifyBadAlg() {
        assertDoesNotThrow(() -> runShellCommand(() -> () -> "generate-jwt --subject casuser --encryptionAlgorithm dir --encryptionMethod A128KW "));
        assertDoesNotThrow(
            () -> runShellCommand(() -> () -> "generate-jwt --subject casuser --encryptionAlgorithm A128KW --encryptionMethod A128CBC_HS256"));

    }
This is {@link GenerateJwtCommandTests}.

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