Function mu::tiny::mock::mock¶
Defined in File mock.hpp
Function Documentation¶
-
Support &mu::tiny::mock::mock(StringView mock_name = "", FailureReporter *failure_reporter_for_this_call = nullptr)¶
Access the global mock support or a named scope.
This is the primary entry point for all mock interaction in test code.
- Parameters:
mock_name – Scope name; empty string is the global scope.
failure_reporter_for_this_call – Optional reporter override for this call chain.
- Returns:
Reference to the Support for the requested scope.