HashMap<String, List<String> > hits = new HashMap<String, List<String> > ();
List<String> descriptionHits = new ArrayList<String>();
descriptionHits.add("foo");
hits.put("description", descriptionHits);
item = new FilteredContentProviderResultItem(id, modelElement, label, null, content, project, hits);
TestResultItemViewText text = new TestResultItemViewText(shell, SWT.NONE);
assertFalse(text.getStyledText().getEditable()); //must be non editable by default
text.setItemToDisplay(item);
StyleRange[] styleRanges = text.getStyledText().getStyleRanges();