Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this is now enabled by default. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add a new test that checks if the API works as expected provided we have a well-behaved implementation. FFF-based fake is used to mock the implementation behavior. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>