def METHOD_NAME(create, element_factory):
    actor1 = create(ActorItem, UML.Actor)
    actor2 = create(ActorItem, UML.Actor)
    dep = create(DependencyItem)
    connect(dep, dep.head, actor1)
    connect(dep, dep.tail, actor2)
    dep_subj = dep.subject
    disconnect(dep, dep.tail)
    assert dep.subject is None
    assert get_connected(dep, dep.tail) is None
    assert dep_subj not in element_factory.select()
    assert dep_subj not in actor1.subject.supplierDependency
    assert dep_subj not in actor2.subject.clientDependency