Provider provider = BouncyCastleProviderSingleton.getInstance();
decrypter.setKeyEncryptionProvider(provider);
decrypter.setContentEncryptionProvider(provider);
decrypter.setMACProvider(provider);
jweObject.decrypt(decrypter);
assertEquals(JWEObject.State.DECRYPTED, jweObject.getState());
assertEquals("Well, as of this moment, they're on DOUBLE SECRET PROBATION!", jweObject.getPayload().toString());