Zipper { public byte[] createZipFromFolder(Path folder) { List<Path> fileList = this.generateFileList(folder); Path pathToZip = this.zipIt(folder, fileList); return zipAsBytes(pathToZip); }  byte[] createZipFromFolder(Path folder);  }
@Test public void testCreateZipFromFolder() { byte[] zip = zipper.createZipFromFolder(tempDir); assertThat(zip).isNotEmpty(); }