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