@Theory
  public void testParseInvalidKeys_throws(
      @FromDataPoints("invalidKeySerializations") ProtoKeySerialization serialization)
      throws Exception {
    assertThrows(
        GeneralSecurityException.class,
        () -> registry.parseKey(serialization, InsecureSecretKeyAccess.get()));
  }
Test that if "OutputPrefixType" is set to CRUNCHY, we just ignore it.
java_src/src/test/java/com/google/crypto/tink/streamingaead/internal/AesGcmHkdfStreamingProtoSerializationTest.java