void (@NotNull MockApplication application, @NotNull MockProjectEx project, @NotNull PluginDescriptor pluginDescriptor) { registerExtensionPoint(project.getExtensionArea(), MultiHostInjector.MULTIHOST_INJECTOR_EP_NAME, MultiHostInjector.class, pluginDescriptor); registerExtensionPoint(application.getExtensionArea(), LanguageInjector.EXTENSION_POINT_NAME, LanguageInjector.class, pluginDescriptor); project.registerService(DumbService.class, new MockDumbService(project)); application.registerService(InjectedEditorWindowTracker.class, new InjectedEditorWindowTrackerImpl()); project.registerService(InjectedLanguageManager.class, new InjectedLanguageManagerImpl(project)); }