def METHOD_NAME(self):
    order = Order.objects.create()
    _, transition, _ = self._create_transition(
        model=order, name='prepare',
        source=[OrderStatus.new.id], target=OrderStatus.to_send.id,
        actions=['go_to_post_office']
    )
    graph = _create_graph_from_actions(transition.actions.all(), order)
    self.assertEqual(graph, {
        'go_to_post_office': [],
    })