@Test
  public void testFilesTast_withConfigModifiers() throws IOException {
    Path projectRoot = skaffoldTestProject.getProjectRoot();
    SkaffoldFilesOutput result =
        new SkaffoldFilesOutput(verifyTaskSuccess(skaffoldTestProject, null));
    assertPathListsAreEqual(
        ImmutableList.of(projectRoot.resolve("build.gradle"), projectRoot.resolve("script.gradle")),
        result.getBuild());
    assertPathListsAreEqual(
        ImmutableList.of(
            projectRoot.resolve("src/main/resources"),
            projectRoot.resolve("src/main/java"),
            projectRoot.resolve("src/main/jib"),
            projectRoot.resolve("other/file.txt")),
        result.getInputs());
    assertPathListsAreEqual(
        ImmutableList.of(projectRoot.resolve("src/main/jib/bar")), result.getIgnore());
  }
Asserts that two lists contain the same paths. Required to avoid Mac's /var/ vs. /private/var/
symlink issue.

@param expected the expected list of paths
@param actual the actual list of paths
@throws IOException if checking if two files are the same fails
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/skaffold/FilesTaskV2Test.java