def METHOD_NAME(validation_context):
    """Data missing a recommended slot on a nested object should yield a result"""
    plugin = RecommendedSlotsPlugin()
    instance = {"rec": "foo", "nested": {"nonrec": "foo"}}
    result_iter = plugin.process(instance, validation_context)
    assert next(result_iter).message == "Slot 'rec' is recommended on class 'Object' in /nested"
    with pytest.raises(StopIteration):
        next(result_iter)