void (@NotNull String testDir, @NotNull InspectionToolWrapper<?,?> toolWrapper) { VirtualFile sourceDir = copyDirectoryToProject(new File(testDir, "src").getPath(), ""); testInspection(testDir, toolWrapper, sourceDir); }