1 /*
2  * Copyright (c) 2022 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/bluetooth/conn.h>
8 #include <zephyr/fff.h>
9 #include <zephyr/kernel.h>
10 
11 #include <host/conn_internal.h>
12 
13 /* List of fakes used by this unit tester */
14 #define CONN_FFF_FAKES_LIST(FAKE)                                                                  \
15 	FAKE(bt_conn_unref)                                                                        \
16 	FAKE(bt_le_create_conn_cancel)                                                             \
17 	FAKE(bt_conn_lookup_state_le)
18 
19 DECLARE_FAKE_VOID_FUNC(bt_conn_unref, struct bt_conn *);
20 DECLARE_FAKE_VALUE_FUNC(int, bt_le_create_conn_cancel);
21 DECLARE_FAKE_VALUE_FUNC(struct bt_conn *, bt_conn_lookup_state_le, uint8_t, const bt_addr_le_t *,
22 			const bt_conn_state_t);
23