void () { List<LocalInspectionEP> devkitInspections = ContainerUtil.filter(LocalInspectionEP.LOCAL_INSPECTION.getExtensionList(), ep -> { return "DevKit".equals(ep.getPluginDescriptor().getPluginId().getIdString()); }); assertEquals("Mismatch in total inspections, check classpath in test run configuration (intellij.devkit.plugin)", 66, devkitInspections.size()); List<LocalInspectionEP> disabledInspections = ContainerUtil.filter(devkitInspections, ep -> !ep.enabledByDefault); List<String> disabledInspectionShortNames = new ArrayList<>(ContainerUtil.map(disabledInspections, ep -> ep.getShortName())); Collections.sort(disabledInspectionShortNames); assertContainsElements("Mismatch in known disabled inspections", disabledInspectionShortNames, DISABLED_INSPECTIONS); List<String> allKnownDisabledInspections = new ArrayList<>(ContainerUtil.concat(DISABLED_INSPECTIONS, WIP_INSPECTIONS)); Collections.sort(allKnownDisabledInspections); assertSameElements("Mismatch in known WIP inspections", disabledInspectionShortNames, allKnownDisabledInspections); }