// copy/paste the created search from connection 1 to connection 2
browserViewBot.copy();
connectionsViewBot.selectConnection( connection2.getName() );
browserViewBot.selectEntry( "Searches" );
SearchPropertiesDialogBot searchPropertiesDialogBot = browserViewBot.pasteSearch();
assertTrue( searchPropertiesDialogBot.isVisible() );
searchPropertiesDialogBot.clickCancelButton();
// assert browser connection in searches
assertEquals( 1, browserConnection1.getSearchManager().getSearches().size() );
assertEquals( browserConnection1, browserConnection1.getSearchManager().getSearches().get( 0 )
.getBrowserConnection() );