void (@NotNull String expectedResult, @NotNull VirtualFile firstModuleInfo, @NotNull VirtualFile secondModuleInfo) { myFixture.allowTreeAccessForFile(firstModuleInfo); myFixture.allowTreeAccessForFile(secondModuleInfo); myFixture.configureFromExistingVirtualFile(addFile("module-info.java", expectedResult, ModuleDescriptor.M2)); myFixture.checkHighlighting(); }