@Before
    public void initialize(){
        RSAPublicKey rsa = getPublicRsaKey(PUBLIC_KEY_PEM);
        mockServerClient.when(request().withMethod("GET").withPath("/jwks.json"))
            .respond(response().withStatusCode(200)
            .withBody("{\"keys\": [\n" +
                    "    {\n" +
                    "      \"kid\": null,\n" +
                    "      \"e\": \""+ Base64.getUrlEncoder().encodeToString(rsa.getPublicExponent().toByteArray()) +"\",\n" +
                    "      \"n\": \""+ Base64.getUrlEncoder().encodeToString(rsa.getModulus().toByteArray()) +"\",\n" +
                    "      \"kty\":\"RSA\",\n" +
                    "      \"alg\": \"RS256\"\n" +
                    "    }\n" +
                    "  ]\n" +
                    "}")
            );
    }
@author Marc Savy {@literal <msavy@redhat.com>}
plugins/jwt-policy/src/test/java/io/apiman/plugins/jwt/JWTPolicyTest.java