@Test
void containsInvalidCharacter() {

    Character[] blacklistChar = {CharacterBlacklist.LESS_THAN, CharacterBlacklist.GREATER_THAN, CharacterBlacklist.COLON, CharacterBlacklist.DOUBLE_QUOTE,
        CharacterBlacklist.FORWARD_SLASH, CharacterBlacklist.BACK_SLASH, CharacterBlacklist.PIPE, CharacterBlacklist.QUESTION_MARK, CharacterBlacklist.ASTERISK,
        CharacterBlacklist.NULL_CHAR};
    Stream.of(blacklistChar).forEach(c -> {
        assertTrue(CharacterBlacklistUtil.containsInvalidCharacter("example with invalid character " + c));
    });
}