SMTestProxy (@NotNull String id, @NotNull String expectedName, @Nullable String expectedMetainfo, boolean inProgress, @NotNull SMTestProxy parent) { SMTestProxy suite = myEventsProcessor.findProxyById(id); assertNotNull(suite); assertFalse(suite.isSuite()); assertTrue(suite.isLeaf()); assertEquals(expectedName, suite.getName()); assertEquals(expectedMetainfo, suite.getMetainfo()); assertEquals(inProgress, suite.isInProgress()); assertTrue(parent.getChildren().contains(suite)); return suite; }