void () { onTestStarted("some_test"); final String fullName = myEventsProcessor.getFullTestName("some_test"); final SMTestProxy proxy = myEventsProcessor.getProxyByFullTestName(fullName); assertNotNull(proxy); assertTrue(proxy.isInProgress()); final Object rootTreeNode = (myTreeModel.getRoot()); assertEquals(1, myTreeModel.getChildCount(rootTreeNode)); final SMTestProxy rootProxy = SMTRunnerTestTreeView.getTestProxyFor(rootTreeNode); assertNotNull(rootProxy); assertSameElements(rootProxy.getChildren(), proxy); onTestStarted("some_test2"); final String fullName2 = myEventsProcessor.getFullTestName("some_test2"); final SMTestProxy proxy2 = myEventsProcessor.getProxyByFullTestName(fullName2); assertSameElements(rootProxy.getChildren(), proxy, proxy2); }