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