void () { initText("long line"); configureSoftWraps(7); Inlay<?> inlay = addInlay(1); assertNotNull(getEditor().getSoftWrapModel().getSoftWrap(5)); runWriteCommand(() -> getEditor().getDocument().setText(" ")); assertFalse(inlay.isValid()); }