SMTestProxy (@NotNull String id, @NotNull SMTestProxy expectedTestProxy, long expectedDurationMillis) { SMTestProxy test = myEventsProcessor.findProxyById(id); assertEquals(expectedTestProxy, test); assertFalse(test.isSuite()); assertTrue(test.isFinal()); assertTrue(test.isDefect()); assertEquals(Long.valueOf(expectedDurationMillis), test.getDuration()); return test; }