void () { onTestSuiteStarted("suite1", "file://some/file.rb:1"); //lets check that new tests have right parent onTestStarted("test1", "file://some/file.rb:4"); final SMTestProxy test1 = myEventsProcessor.getProxyByFullTestName(myEventsProcessor.getFullTestName("test1")); assertNotNull(test1); assertEquals("file://some/file.rb:1", test1.getParent().getLocationUrl()); assertEquals("file://some/file.rb:4", test1.getLocationUrl()); }