private void verifyBlobWithoutCompression() throws IOException {
    // Writes the BLOB and captures the output.
    ByteArrayOutputStream tarByteOutputStream = new ByteArrayOutputStream();
    testTarStreamBuilder.writeAsTarArchiveTo(tarByteOutputStream);

    // Rearrange the output into input for verification.
    ByteArrayInputStream byteArrayInputStream =
        new ByteArrayInputStream(tarByteOutputStream.toByteArray());
    TarArchiveInputStream tarArchiveInputStream = new TarArchiveInputStream(byteArrayInputStream);
    verifyTarArchive(tarArchiveInputStream);
  }
Creates an uncompressed blob from the TarStreamBuilder and verifies it.
jib-core/src/test/java/com/google/cloud/tools/jib/tar/TarStreamBuilderTest.java