def METHOD_NAME(self):
    o2 = object()
    o3 = object()
    o5 = object()
    o7 = object()
    o8 = object()
    o9 = object()
    o10 = object()
    o11 = object()
    results = list(toposort({o2: set([o11]), o9: set([o11, o8]), o10: set([o11, o3]), o11: set([o7, o5]), o8: set([o7, o3, o8])}))
    expected = [set([o3, o5, o7]), set([o8, o11]), set([o2, o9, o10])]
    assert results == expected