@Test
    void verifyFile() throws Throwable {
        val file = File.createTempFile("file", "txt");
        FileUtils.write(file, "example", StandardCharsets.UTF_8);

        val path = file.getCanonicalPath();
        var result = assertDoesNotThrow(() -> runShellCommand(
            () -> () -> "cipher-text --value " + path + " --encryption-key " + SAMPLE_ENCRYPTION_KEY + " --signing-key " + SAMPLE_SIGNING_KEY + " --encryption-alg " + ENCRYPTION_ALG));
        FileUtils.write(file, result.toString(), StandardCharsets.UTF_8);

        result = assertDoesNotThrow(() -> runShellCommand(
            () -> () -> "decipher-text --value " + path + " --encryption-key " + SAMPLE_ENCRYPTION_KEY + " --signing-key " + SAMPLE_SIGNING_KEY + " --encryption-alg " + ENCRYPTION_ALG));
        assertEquals("example", result.toString());
    }
This is {@link StringableCipherExecutorCommandTests}.

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