public static void testEncryptionAndDecryption(StreamingAead streamingAead) throws Exception {
    testEncryptionAndDecryption(streamingAead, streamingAead);
  }
Tests encryption and decryption functionalities of {@code streamingAead}.
java_src/src/main/java/com/google/crypto/tink/testing/StreamingTestUtil.java