void () { DetectionExcludesConfiguration.getInstance(myProject).addExcludedFramework(FacetBasedFrameworkDetector.createFrameworkType(MockFacetType.getInstance())); createFrameworkConfig("my-config.xml"); assertNoFrameworksDetected(); }