### Question:
AppData { public static void createFolders() throws IOException { createDirectoriesIfNotExists(getDataFolder()); Files.setAttribute(getDataFolder(), "dos:hidden", true); createDirectoriesIfNotExists(getConfigFolder()); createDirectoriesIfNotExists(getCacheFolder()); createDirectoriesIfNotExists(getLogFolder()); } 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 testCreateFolders() throws IOException { assertFalse(Files.exists(AppData.getDataFolder())); assertFalse(Files.exists(AppData.getConfigFolder())); assertFalse(Files.exists(AppData.getCacheFolder())); assertFalse(Files.exists(AppData.getLogFolder())); AppData.createFolders(); assertTrue(Files.exists(AppData.getDataFolder())); assertTrue(Files.exists(AppData.getConfigFolder())); assertTrue(Files.exists(AppData.getCacheFolder())); assertTrue(Files.exists(AppData.getLogFolder())); }