void () { onTestStarted("some_test"); myEventsProcessor.onTestFailure(new TestFailedEvent("some_test", "", "", false, null, null)); final String fullName = myEventsProcessor.getFullTestName("some_test"); final SMTestProxy proxy = myEventsProcessor.getProxyByFullTestName(fullName); assertNotNull(proxy); assertTrue(proxy.isDefect()); assertFalse(proxy.isInProgress()); }