void () { SMTestProxy suite1 = createSuiteProxy(myTestsRootNode); suite1.setStarted(); SMTestProxy test1 = createTestProxy("test1", suite1); test1.setStarted(); test1.setTestComparisonFailed("m1", "m1", "m2", "m1"); test1.setFinished(); suite1.setFinished(); SMTestProxy suite2 = createSuiteProxy(myTestsRootNode); suite2.setStarted(); SMTestProxy test2 = createTestProxy("test2", suite2); test2.setStarted(); test2.setTestComparisonFailed("m2", "m2", "m1", "m2"); test2.setFinished(); suite2.setFinished(); ListSelection<DiffHyperlink> hyperlinks = ViewAssertEqualsDiffAction.showDiff(suite2, myResultsViewer); List<? extends DiffHyperlink> providers = hyperlinks.getList(); assertEquals(2, providers.size()); assertEquals(1, hyperlinks.getSelectedIndex()); DiffHyperlink selectedProvider = providers.get(0); assertEquals("m1", selectedProvider.getLeft()); assertEquals("m2", selectedProvider.getRight()); }