Example #1
0
 /**
  * Test.
  *
  * @throws IOException IOException
  * @throws InterruptedException InterruptedException
  */
 @Test
 public void testZipToFile() throws IOException, InterruptedException {
   final File tempFile = new File(directory, UUID.randomUUID().toString() + ".zip");
   FileSupport.zipToFile(data, tempFile);
   Assert.assertTrue(tempFile.exists());
 }