*/
@SuppressWarnings("unchecked")
private void split(final String fileName, final List<LineRange> lineRanges) throws IOException {
InputStream stream = SourceDetailTest.class.getResourceAsStream("AbortException.txt");
FileAnnotation annotation = createMock(FileAnnotation.class);
expect(annotation.getLineRanges()).andReturn(lineRanges);
expect(annotation.getFileName()).andReturn("").anyTimes();
expect(annotation.getTempName((AbstractBuild<?, ?>)anyObject())).andReturn("").anyTimes();
expect(annotation.getMessage()).andReturn("Message ").anyTimes();
expect(annotation.getToolTip()).andReturn("Tooltip").anyTimes();
replay(annotation);
SourceDetail source = new SourceDetail(null, annotation, null);