@Theory
  public void testEncryptDecryptDifferentInstances(
      @FromDataPoints("vanillaImplementationTestVectors") AesGcmHkdfStreamingTestVector t)
      throws Exception {
    assumeTrue(t.keyObjectAgs != null);
    StreamingTestUtil.testEncryptDecryptDifferentInstances(
        t.directConstructorAgs,
        t.keyObjectAgs,
        t.keyObjectAgs.getFirstSegmentOffset(),
        t.plaintextSize,
        t.chunkSize);
  }
Encrypts and decrypts some plaintext in a stream and checks that the expected plaintext is
returned.
java_src/src/test/java/com/google/crypto/tink/subtle/AesGcmHkdfStreamingTest.java