protected function checkParsedMark($mark, $value)
    {
        if (strpos($mark, '!') === 0) {
            throw new InvalidArgumentException("Leading ! cannot be used in associative marks.");
        }

        if (!is_bool($value) && !is_string($value)) {
            throw new UnsupportedParameterException("This MatchingListener can only match boolean and strings. You added for $mark a value of " . Type::of($value));
        }
    }