ParseException.class,
() -> new DocumentConverter().addStyleMap("p =>\np[style-name=] =>"));
assertThat(
exception.getMessage(),
equalTo(
<BUG>"error reading style map at line 2, character 14: expected token of type STRING but was of type CLOSE_SQUARE_BRACKET\n\n" +
</BUG>
"p[style-name=] =>\n" +
"             ^"));
}

ParseException.class,
() -> new DocumentConverter().addStyleMap("p =>\np[style-name=] =>"));
assertThat(
exception.getMessage(),
equalTo(
"error reading style map at line 2, character 14: expected token of type STRING but was of type SYMBOL\n\n" +
"p[style-name=] =>\n" +
"             ^"));
}
