void () { String root = DIR_ROOT; String child = root + CHILD_FILE; CanonicalPathMap map = createCanonicalPathMap(emptyList(), singletonList(root)); Collection<String> paths = map.mapToOriginalWatchRoots(child, true); assertThat(paths).containsExactly(child); }