@Test
    public void testGetSecretInitializedWithByteArray(){
        var rndBytes = new byte[32];
        new SecureRandom().nextBytes(rndBytes);
        var secret = new String(rndBytes,UTF_8);
        assertEquals(new SecretSignatureConfiguration(rndBytes).getSecret(),secret);
    }
Tests {@link SecretSignatureConfiguration}.

@author Jerome Leleu
@since 1.9.2
pac4j-jwt/src/test/java/org/pac4j/jwt/config/signature/SecretSignatureConfigurationTests.java