void () { createFilter(FILE); String line = "C:\\Work\\SampleProjects\\makeOutput.cmd"; Filter.Result result = applyFilter(line); assertEquals(0, result.getResultItems().get(0).getHighlightStartOffset()); assertEquals(line.length(), result.getResultItems().get(0).getHighlightEndOffset()); HLInfo info = (HLInfo)result.getResultItems().get(0).getHyperlinkInfo(); info.checkInfo(line, 0, 0); }