def METHOD_NAME(self, sonarqube_check):
    check = sonarqube_check({'components': {'foo': {'include': [9000]}}})
    with pytest.raises(ConfigurationError, match='Pattern #1 in `include` setting must be a string'):
        check.parse_config()