public void testRefresh() throws Exception {
IssuesView view = (IssuesView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(IssueConstants.VIEW_ID);
final boolean[] refresh=new boolean[1];
view.setContentProvider(new IssuesContentProvider(){
@Override
public Object[] getElements( Object inputElement ) {
refresh[0]=true;
return super.getElements(inputElement);
}