void () { MockApplication app = MockApplication.setUp(rootDisposable); app.registerService(PathMacros.class, new PathMacrosImpl(false)); ExtensionsAreaImpl area = app.getExtensionArea(); ExtensionPointName<PathMacroFilter> epName = PathMacrosCollector.MACRO_FILTER_EXTENSION_POINT_NAME; area.registerExtensionPoint(epName, "com.intellij.openapi.application.PathMacroFilter", ExtensionPoint.Kind.INTERFACE, rootDisposable); }