Reset RunId inside Dynamic Stubs
I am running Unit Testing in the following environment:
I am using dynamic stubs to do unit testing. I am calling the same function multiple times inside a single test case, and that function calls additional sub-functions that are stubbed. I know that I can set the Run Ids to control the return value of those sub-functions from the test suite on the first call, but I would like to reset the RunId call count each time I iterate over the loop and call the function so I don't have to have multiple CPPTEST_ON_CALL statements for each function for each iteration to set the behavior.
Is there a mechanism inside Dynamic Stubbing that will allow me to do this?