@Test
public void testReplaceLocalPathsWithStoragePathsFAT() throws Exception {

  // This is a test on a project from a FAT archive (essentially because there will be no startup-depencencies.json
  // file in this project, we expect none of the paths to be replaced (the input paths should be returned without
  // any modification)
  Dependency depA = ThinArchiveTestUtils.getDepA();
  File projectDir = TEMP_DIR.newFolder("sample_proj");
  Props props = new Props();
  props.put(DEPENDENCY_STORAGE_ROOT_PATH_PROP, HDFS_DEP_ROOT_PATH);
  // Put depA in the correct location
  File depAFile = new File(projectDir, depA.getDestination() + File.separator + depA.getFileName());
  FileUtils.writeStringToFile(depAFile, ThinArchiveTestUtils.getDepAContent());
  List<String> jarPaths = new ArrayList<>();
  jarPaths.add(depAFile.getCanonicalPath());
  String jarPathsStr = String.join(",", jarPaths);
  List<String> expectedJarPaths = new ArrayList<>();
  expectedJarPaths.add(jarPaths.get(0));
  String expectedJarPathsStr = String.join(",", expectedJarPaths);
  String resultingJarPathsStr =
      ThinArchiveUtils.replaceLocalPathsWithStoragePaths(projectDir, jarPathsStr, props, log);
  assertEquals(expectedJarPathsStr, resultingJarPathsStr);
}