def METHOD_NAME(self, diagram):
    METHOD_NAME = [
        p
        for p in diagram.presentation
        if isinstance(p, diagramitems.DependencyItem)
    ]
    assume(METHOD_NAME)
    return sampled_from(ordered(METHOD_NAME))