void () { initText("text"); assertNotNull(addCustomFoldRegion(0, 0, 321, 123)); List<Boolean> results = new ArrayList<>(); getEditor().addEditorMouseMotionListener(new EditorMouseMotionListener() { @Override public void mouseMoved(@NotNull EditorMouseEvent e) { results.add(e.isOverText()); } }); mouse().moveToXY(400, 100); assertEquals(List.of(Boolean.FALSE), results); }