@Test
  public void testAes256EaxTemplate() throws Exception {
    KeyTemplate template = AesEaxKeyManager.aes256EaxTemplate();
    assertThat(template.toParameters())
        .isEqualTo(
            AesEaxParameters.builder()
                .setKeySizeBytes(32)
                .setIvSizeBytes(16)
                .setTagSizeBytes(16)
                .setVariant(AesEaxParameters.Variant.TINK)
                .build());
  }
Test for AesEaxJce and its key manager.
java_src/src/test/java/com/google/crypto/tink/aead/AesEaxKeyManagerTest.java