}
@Test
public void testDeleteCacheDir() throws Exception {
Vertx vertx2 = Vertx.vertx();
FileResolver resolver2 = new FileResolver(vertx2);
File file = resolver2.resolveFile(fileName1);
assertTrue(file.exists());
File cacheDir = file.getParentFile().getParentFile();
assertTrue(cacheDir.exists());
resolver2.deleteCacheDir(onSuccess(res -> {
assertFalse(cacheDir.exists());
vertx2.close(res2 -> {
testComplete();
});
}));