def METHOD_NAME():
    test_config = examinee.MatchingConfig(
        name='Some Config Name',
        rules=[
            examinee.ConfigRule(
                target='Name',
                expression='TestComponent',
                matching_semantics=examinee.ComponentFilterSemantics('include'),
            )
        ]
    )
    test_filter = examinee.filter_for_matching_config(test_config)
    node = cnudie.iter.ComponentNode(path=())
    with pytest.raises(ValueError):
        test_filter(node)