Have you ever mocked your logger in a test, or wished you could? That is something like
TEST(some test name)
mockLogger logger
logger.expect_call(log("some string"))
DoSomething(logger)
Have you ever mocked your logger in a test, or wished you could? That is something like
TEST(some test name)
mockLogger logger
logger.expect_call(log("some string"))
DoSomething(logger)
@tve I didn’t ask how to do it, I asked if anyone else has done it.