void (@NotNull DocumentEvent event) { for (int i = 0; i < expectedResults.length; i++) { assertEquals("Wrong result for offset " + i, expectedResults[i], ((DocumentEventImpl)event).getLineNumberBeforeUpdate(i)); } }