Question
· Jul 9, 2021

UnitTest - Asserting method has been called

Is there a method I can utilise to check if a particular method has been called and perhaps log the args it was called with?

We are currently trying to expand out Cache Unit Testing processes and were wondering if there is an existing method that would capture this or how  such a method could be structured.

Thanks
Adam

Product version: Caché 2018.1
Discussion (2)2
Log in or sign up to continue