@Override
    public byte[] sign(byte[] data) throws GeneralSecurityException {
      throw new GeneralSecurityException("fail");
    }
We test all variants for legacy reasons.
java_src/src/test/java/com/google/crypto/tink/signature/PublicKeySignWrapperTest.java