public void testSearchClickResults() {
FrameFixture window = WindowFinder.findFrame(TITLE).using(robot);
final JListFixture list = window.list(new JListMatcher("Search Result List"));
ComponentSpec cs1 = Mockito.mock(ComponentSpec.class);
ComponentSpec cs2 = Mockito.mock(ComponentSpec.class);
QueryResult q = new QueryResult(2, Arrays.asList(cs1, cs2));
platformSearchUI.setQueryResult(q);
window.button(new JButtonMatcher("Search")).click();
Condition condition = new Condition("Results Arrived.") {
@Test