@Test
public void testGenerateTarGzEmptyDirectory() throws Exception {

    // create an empty directory
    File emptyDir = tempFolder.newFolder("subfolder");
    byte[] data = Utils.generateTarGz(emptyDir, null);
    // Here, we simply ensure that it did something!
    Assert.assertNotNull(data);
    Assert.assertTrue(data.length > 0);
}