DialyzerMarkerUtils.addDialyzerWarningMarker(model,
externalFile.getAbsolutePath(), lineNumber, message);
// then
// the marker should have the proper file name and the include file
// should appear in External Files
final IMarker[] markers = root.findMarkers(
DialyzerMarkerUtils.DIALYZE_WARNING_MARKER, true,
IResource.DEPTH_INFINITE);
assertThat(markers.length, is(greaterThan(0)));
for (final IMarker marker : markers) {
// for some reason, when running on Hudson, we get two identical