@Test
void testClean_emptyRepo() throws IOException {

    final String repoDir = FileUtil.getCanonicalPath(Files.createTempDirectory("stroom").resolve("repo2"));
    StroomZipRepository stroomZipRepository = new StroomZipRepository(
            repoDir, null, false, 10000, 0, false);
    Path repoDirPath = Paths.get(repoDir);
    assertThat(repoDirPath).exists();
    stroomZipRepository.clean(false);
    assertThat(repoDirPath).exists();
    stroomZipRepository.clean(true);
    assertThat(repoDirPath).doesNotExist();
}