@Test
public void escapeControlCharactersWithoutShorthands() {

    IntStream.range(0, 0x1F).forEach(character -> {
        if (SHORTHAND_CONTROL_CHARACTERS.chars().noneMatch(i -> i == character)) {
            final String unicodeEscaped = underTest.apply(character);
            assertThat(unicodeEscaped)
                    .describedAs("Do not escape character %s", Integer.toHexString(character))
                    .startsWith("\\u");
            assertThat(Integer.parseInt(unicodeEscaped.substring(2), 16)).isEqualTo(character);
        }
    });
}