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