void () { PlatformTestUtil.saveProject(getProject()); myProject.getMessageBus().connect(getTestRootDisposable()).subscribe(ModuleRootListener.TOPIC, new ModuleRootListener() { @Override public void rootsChanged(@NotNull ModuleRootEvent event) { myRootsChangedCount++; } }); }