def METHOD_NAME():
    """
    Create minion instance
    :return:
    """
    obj = daemons.Minion()
    obj.config = {"user": "dummy", "hash_type": alg}
    for attr in ["start_log_info", "prepare", "shutdown"]:
        setattr(obj, attr, MagicMock())
    setattr(obj, "minion", MagicMock(restart=False))
    return obj