### Question:
FilesUtils { public static String getFilePathSlash(String text) { if (text.contains("\\")) { return "\\"; } return "/"; } private  FilesUtils(); static String getCachePathSetting(); static void setCachePathSetting(String cachePathSetting); static void resetDeployPath(); static String normalizePath(String pathString); static Path getDeployedPath(Path path); static void saveToFile(InputStream in, Path outFile); static void saveToFile(String content, Path outFile); static int getOffsetAfterScheme(String uri); static String getFilePathSlash(String text); static String convertToWindowsPath(String pathString); static boolean pathEndsWithFile(String pathString); static boolean isIncludedInDeployedPath(Path resourceCachePath); static String removeFileScheme(String fileURI); static Path getPath(String uri); static String encodePath(String path); static final String FILE_SCHEME; static final String LEMMINX_WORKDIR_KEY; static Supplier<Path> DEPLOYED_BASE_PATH; }### Answer:
@Test public void getFilePathSlashTest() { assertEquals("/", FilesUtils.getFilePathSlash("src/a/b/c")); assertEquals("\\", FilesUtils.getFilePathSlash("src\\a\\b\\c")); assertEquals("/", FilesUtils.getFilePathSlash("src")); assertEquals("/", FilesUtils.getFilePathSlash("")); }