void () { final ArrayList<Runnable> runnables = new ArrayList<>(myBuildTreeRunnables); myBuildTreeRunnables.clear(); processTreeBuildEvents(runnables); myEventPublisher.onBuildTreeEnded(myTestsRootProxy); }