C# unit testing with Moq library
Moq – is useful framework that allows to simulate any functionality provided by object being tested. For example, you need to check is any method called in test scenario, so moq let you to do that. Just mock testable method, run scenario and detect is it being called at the end of test scenario.