returned_ret = zbx_substitute_simple_macros(NULL, &event, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
#include "zbxexpression.h"
#include "zbxmockassert.h"
zbx_vector_uint64_t test_hostids;
int __wrap_expr_db_get_trigger_value(const zbx_db_trigger *trigger, char **replace_to, int N_functionid,
zbx_dc_um_handle_t *__wrap_zbx_dc_open_user_macros(void);
void __wrap_zbx_dc_close_user_macros(zbx_dc_um_handle_t *um_handle);
int __wrap_zbx_db_trigger_get_all_hostids(const zbx_db_trigger *trigger, const zbx_vector_uint64_t **hostids);
void __wrap_zbx_dc_get_user_macro(const zbx_dc_um_handle_t *um_handle, const char *macro,
const zbx_uint64_t *hostids, int hostids_num, char **value);
int __wrap_expr_db_get_trigger_value(const zbx_db_trigger *trigger, char **replace_to, int N_functionid,
ZBX_UNUSED(N_functionid);
*replace_to = zbx_strdup(NULL, zbx_mock_get_parameter_string("in.macro_value"));
zbx_dc_um_handle_t *__wrap_zbx_dc_open_user_macros(void)
void __wrap_zbx_dc_close_user_macros(zbx_dc_um_handle_t *um_handle)
int __wrap_zbx_db_trigger_get_all_hostids(const zbx_db_trigger *trigger, const zbx_vector_uint64_t **hostids)
*hostids = &test_hostids;