def METHOD_NAME(step, action_type,id,mock_response,parameters,connected_to):
    if action_type == 'SendEmailAction':
        world.cards.append(
            world.cards_utils.create_action_email_card(id, id, [connected_to], parameters, parameters, 'test_subject',
                                                       mock_response))
    elif action_type == 'SendSmsMibAction':
        world.cards.append(world.cards_utils.create_action_sms_card(id, id, [connected_to], parameters, mock_response))
    elif action_type == 'updateAttribute':
        world.cards.append(
            world.cards_utils.create_action_update_card(id, id, [connected_to], parameters, mock_response))
    else:
        raise ValueError('The action card type "{action_type}" is not supported'.format(action_type=action_type))