def METHOD_NAME(self):
    name = 'Foo'
    _, transition, _ = self._create_transition(Order, name)
    transition.name = 'Bar'
    transition.save()
    perm_exist = Permission.objects.filter(
        **transition.permission_info
    ).exists()
    self.assertTrue(perm_exist)