### Question:
AppData { public static Path getCacheFolder() { return getDataFolder().resolve(CACHE_FOLDER_NAME); } private  AppData(); static void setDataFolder(final Path folder); static Path getDataFolder(); static Path getConfigFolder(); static Path getCacheFolder(); static Path getLogFolder(); static void createFolders(); static void checkAccess();  }### Answer:
@Test public void testGetCacheFolder() { Path cache = tempPath.resolve("cache"); assertEquals(AppData.getCacheFolder(), cache); assertFalse(Files.exists(cache)); }