@Test
  public void testKeyManagerRegistered() throws Exception {
    assertThat(
            KeyManagerRegistry.globalInstance()
                .getKeyManager("type.googleapis.com/google.crypto.tink.AesEaxKey", Aead.class))
        .isNotNull();
  }
Test for AesEaxJce and its key manager.
java_src/src/test/java/com/google/crypto/tink/aead/AesEaxKeyManagerTest.java