void () { TextContent extracted = extractText("a.md", "[Before ![AltText](http://www.google.com.au/images/nav_logo7.png) after](http://google.com.au/)", 3); assertEquals("Before after", unknownOffsets(extracted)); Assertions.assertArrayEquals(new int[]{0, extracted.length()}, extracted.markupOffsets()); }