Blog: Testing With Unused Arguments


Another blog post, this time about testing; or more specifically stubbing out unused objects.

What do you use for stubbing/mocking? How do you structure your code to facilitate this?


Alas, I couldn’t get it to compile. Interestingly, a simple reduced example worked correctly. However, sensing that fixing the compilation issue would be taking more time than I was willing to expend, […]

Can you post more info on the failure (errors, link to code)?