@Test
  public void withoutFips_allAeadKeyTypesAreRegistered() throws Exception {
    Assume.assumeFalse(TinkFips.useOnlyFips());

    AeadConfig.register();

    assertNotNull(KeysetHandle.generateNew(PredefinedAeadParameters.AES128_CTR_HMAC_SHA256));
    assertNotNull(KeysetHandle.generateNew(PredefinedAeadParameters.AES128_GCM));
    assertNotNull(KeysetHandle.generateNew(PredefinedAeadParameters.AES128_EAX));
    assertNotNull(KeysetHandle.generateNew(PredefinedAeadParameters.CHACHA20_POLY1305));
    assertNotNull(KeysetHandle.generateNew(PredefinedAeadParameters.XCHACHA20_POLY1305));
  }
Tests for AeadConfig. Using FixedMethodOrder to ensure that aaaTestInitialization runs first, as
it tests execution of a static block within AeadConfig-class.
java_src/src/test/java/com/google/crypto/tink/aead/AeadConfigTest.java