blob: b8ba5a042a07e0b545c7fdb29218c580fb43af5c [file] [log] [blame]
/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "mocks/settings.h"
#include "mocks/settings_expects.h"
#include <zephyr/kernel.h>
void expect_single_call_bt_settings_save_id(void)
{
const char *func_name = "bt_settings_save_id";
zassert_equal(bt_settings_save_id_fake.call_count, 1, "'%s()' was called more than once",
func_name);
}
void expect_not_called_bt_settings_save_id(void)
{
const char *func_name = "bt_settings_save_id";
zassert_equal(bt_settings_save_id_fake.call_count, 0, "'%s()' was called unexpectedly",
func_name);
}