Moq – Verifying parameter values on a mocked method call.

moq logo

Was going down a rabbit hole trying to figure out how to check param value on a mocked method (pretty simple if truth be told). I need to ensure that when an exception was raised my logger would be called Times.Once and would log the…