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
Internally, we've developed a mock framework for ObjectScript based on Mockito that can do exactly this (and many other things). If we're able to get it out on the Open Exchange at some point I'll let you know.
That would be brilliant, thank you!