Asserting Mock Method Calls

Top  Previous  Next

Typemock_C++

Verifying that methods were called is one of the most important parts of any isolation framework.

 

·How to assert a method was called
·How to count how many times a method was called
·How to assert a method was NOT called
·How to set a conditional assertion based on arguments
·Creating custom assertions with predicates

Copyright  Typemock Ltd. 2009-2025.  All Rights Reserved.