void () { final PsiFile[] files = myFixture.configureByFiles("java7/p/Main.java", "java8/p/Foo.java"); final MultiMap<PsiElement, String> conflicts = new MultiMap<>(); RefactoringConflictsUtil.getInstance().analyzeModuleConflicts(files[0].getProject(), Collections.singletonList(files[0]), UsageInfo.EMPTY_ARRAY, files[1].getVirtualFile(), conflicts); assertEmpty(conflicts.keySet()); }