@Override
    public Parameters getParameters() {
      throw new UnsupportedOperationException("Not needed in test");
    }
Tests that when encryption failed an exception is thrown.
java_src/src/test/java/com/google/crypto/tink/KeysetHandleTest.java