void () { final VirtualFile root = getOrCreateProjectBaseDir(); PsiTestUtil.addContentRoot(myModule, root); VfsTestUtil.createFile(root, "module-1/.idea/module.bin"); VfsTestUtil.createFile(root, "module-2/.idea/module.bin"); VfsTestUtil.createFile(root, "module-3/folder/.idea/module.bin"); VfsTestUtil.createFile(root, ".idea/module.bin"); final ShelvedBinaryFilePatch patch = createShelvedBinarySimplePatch(".idea/module.bin"); final MatchPatchPaths iterator = new MatchPatchPaths(myProject); final List<AbstractFilePatchInProgress<?>> result = iterator.execute(Collections.singletonList(patch)); checkPath(result, ".idea/module.bin", Collections.singletonList(root), 0); }