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

    int plaintextSize = 1 << 20;
    StreamingTestUtil.testFileEncryption(
        createAesCtrHmacStreaming(), tmpFolder.newFile(), plaintextSize);
  }
Encrypt some plaintext to a file, then decrypt from the file
java_src/src/test/java/com/google/crypto/tink/subtle/AesCtrHmacStreamingTest.java