void (@NotNull VirtualFile testDir, @NotNull String toFileName, String @NotNull ... symbolNames) { final PsiNamedElement[] symbols = ContainerUtil.map2Array(symbolNames, PsiNamedElement.class, name -> { final PsiNamedElement found = findFirstNamedElement(name); assertNotNull("Symbol '" + name + "' does not exist", found); return found; }); final VirtualFile toVirtualFile = testDir.findFileByRelativePath(toFileName); final String path = toVirtualFile != null ? toVirtualFile.getPath() : (testDir.getPath() + "/" + toFileName); new PyMoveModuleMembersProcessor(symbols, path).run(); }