@Deprecated
  public static void assertKeyInfo(
      com.google.crypto.tink.KeyTemplate keyTemplate, KeysetInfo.KeyInfo keyInfo) throws Exception {
    assertThat(keyInfo.getKeyId()).isGreaterThan(0);
    com.google.crypto.tink.proto.KeyTemplate protoTemplate =
        KeyTemplateProtoConverter.toProto(keyTemplate);
    assertThat(keyInfo.getTypeUrl()).isEqualTo(protoTemplate.getTypeUrl());
    assertThat(keyInfo.getStatus()).isEqualTo(KeyStatusType.ENABLED);
    assertThat(keyInfo.getOutputPrefixType()).isEqualTo(OutputPrefixType.TINK);
  }
Asserts that {@code KeyInfo} is corresponding to a key from {@code keyTemplate}.

@deprecated Do not use this function.
java_src/src/main/java/com/google/crypto/tink/testing/TestUtil.java