private void setUpWithStringsAndTarEntries() throws IOException {
    // Prepares a test TarStreamBuilder.
    testTarStreamBuilder.addByteEntry(fileAContents, "some/path/to/resourceFileA", Instant.EPOCH);
    testTarStreamBuilder.addTarArchiveEntry(new TarArchiveEntry(fileB, "crepecake"));
    testTarStreamBuilder.addTarArchiveEntry(new TarArchiveEntry(directoryA, "some/path/to"));
    testTarStreamBuilder.addByteEntry(
        fileAContents,
        "some/really/long/path/that/exceeds/100/characters/abcdefghijklmnopqrstuvwxyz0123456789012345678901234567890",
        Instant.EPOCH);
  }
Creates a TarStreamBuilder using Strings and TarArchiveEntries.
jib-core/src/test/java/com/google/cloud/tools/jib/tar/TarStreamBuilderTest.java