@Test
    public void testCipher_Wrap_decryptMode_Failure() throws Exception {
        checkCipher_Wrap_invalidMode_Failure(Cipher.DECRYPT_MODE);
    }
Helper for testing that Cipher.update() throws IllegalStateException when
initialized in modes other than DECRYPT or ENCRYPT.
common/src/test/java/org/conscrypt/javax/crypto/CipherTest.java