@Test
  public void createKeyTemplate_ignoresOutputPrefix() throws Exception {
    // When we create LegacyKmsEnvelopeAeadParameters, the underlying OutputPrefixType in the
    // passed in dek Template is ignored.
    KeyTemplate template1 =
        KmsEnvelopeAeadKeyManager.createKeyTemplate(
            "some URI", KeyTemplates.get("AES128_CTR_HMAC_SHA256"));
    KeyTemplate template2 =
        KmsEnvelopeAeadKeyManager.createKeyTemplate(
            "some URI", KeyTemplates.get("AES128_CTR_HMAC_SHA256_RAW"));
    assertThat(template1.toParameters()).isEqualTo(template2.toParameters());
  }
Tests for {@code KmsEnvelopeAead} and {@code KmsEnvelopeAeadKeyManager}.
java_src/src/test/java/com/google/crypto/tink/aead/KmsEnvelopeAeadKeyManagerTest.java