@Test
  public void testIsSupportedOnNewerAndroidVersions() throws Exception {
    Assume.assumeFalse(TinkFips.useOnlyFips());
    Assume.assumeTrue(TestUtil.isAndroid());
    Integer androidApiLevel = Util.getAndroidApiLevel();
    assertThat(ChaCha20Poly1305Jce.isSupported()).isEqualTo(androidApiLevel >= 29);
  }
This is a very simple test for the randomness of the nonce. The test simply checks that the
multiple ciphertexts of the same message are distinct.
java_src/src/test/java/com/google/crypto/tink/aead/internal/ChaCha20Poly1305JceTest.java