+1
0
-1

How to verify a call to stub with void input and void return

I have a stub that is:
void MyFunc(void);

It is necessary to verify that the stub is called inside a specific scenario. How to verify that this stub was called in a specific scenario...

Posting in: 

2 Answers:

+1
0
-1

Hello Khalid:

You can achieve this by saving control flow in test script. This will cause VC to report failure in case call to MyFunc(stub) is not present while executing function under...