### Question:
FileUtils { public static String makePath(String... elements) { return String.join(File.separator, elements); } private  FileUtils(); static boolean copyFileFromResource(File destinationFile, String resourcePath); static boolean createDirectory(File dir); static InputStream getResourceFromJar(String path); static void purgeDirectory(File directory); static void delete(File file); static void create(File file); static String makePath(String... elements); static String createCurrentTimeString(); static String createBackupFilePath(File file);  }### Answer:
@Test public void shouldConstructPath() { String result = FileUtils.makePath("path", "to", "test-file.txt"); assertThat(result, equalTo("path" + File.separator + "to" + File.separator + "test-file.txt")); }