@Test
public void testAddFileToArchive() throws Exception {

    fileToArchiveWriter.addFileToArchive(fileToAddIntoArchive.toPath(), archiveToAddFileIn.toPath(), innerPath);
    List<String> filesInZip = listContentsOfZip(archiveToAddFileIn);
    assertThat(filesInZip.stream().map(Paths::get)).contains(innerPath);
    originalContentOfZip.forEach(
            f -> assertThat(filesInZip).contains(f));
    String contentOfAddedFile = getContentOfEntryInZip(archiveToAddFileIn, innerPath.toString());
    assertThat(contentOfAddedFile).isEqualTo(contentOfInnerFile);
}