assertEquals( 0, browserConnection2.getSearchManager().getSearches().size() );
// create a search for in connection 1
connectionsViewBot.selectConnection( connection1.getName() );
browserViewBot.selectEntry( "DIT", "Root DSE", "ou=system" );
SearchDialogBot dialogBot = browserViewBot.openSearchDialog();
assertTrue( dialogBot.isVisible() );
dialogBot.setSearchName( "Search all persons" );
dialogBot.setFilter( "(objectClass=person)" );
dialogBot.clickSearchButton();
browserViewBot.selectEntry( "Searches", "Search all persons" );
// assert browser connection in searches
assertEquals( 1, browserConnection1.getSearchManager().getSearches().size() );
assertEquals( browserConnection1, browserConnection1.getSearchManager().getSearches().get( 0 )