void () { initText("ab"); Inlay<?> inlay1 = addInlay(1); Inlay<?> inlay2 = addInlay(1); right(); right(); type(' '); checkResultByText("a <caret>b"); checkCaretPosition(2, 2, 3); assertTrue(inlay1.isValid()); assertEquals(1, inlay1.getOffset()); assertTrue(inlay2.isValid()); assertEquals(2, inlay2.getOffset()); }