### Question:
PotentialBracketEndDelimiter extends InlineWithText { String unescapeBackslashEscapes(String stringWithBackslashEscapes) { return stringWithBackslashEscapes.replaceAll(CAPTURING_ESCAPED_CHARS, "$1"); } PotentialBracketEndDelimiter(Line line, int offset); @Override void emit(DocumentBuilder builder); @Override void apply(ProcessingContext context, List<Inline> inlines, Cursor cursor); void truncate(List<Inline> inlines, int indexOfOpeningDelimiter);  }### Answer:
@Test public void unescape() { PotentialBracketEndDelimiter delimiter = new PotentialBracketEndDelimiter(line, 0); assertEquals("(", delimiter.unescapeBackslashEscapes("\\(")); assertEquals("abc(def", delimiter.unescapeBackslashEscapes("abc\\(def")); }