void (String line, String expectedFileName, int expectedLineNumber) { GradleConsoleFilter filter = new GradleConsoleFilter(myFixture.getProject()); filter.applyFilter(line, line.length()); assertEquals(expectedFileName, filter.getFilteredFileName()); assertEquals(expectedLineNumber, filter.getFilteredLineNumber()); }