I started the process of setting up dependency injection in a legacy enterprise app to be able to unit test it.

I've not had to do much with #moq before, but it's fairly intuitive once it clicks. For #arcaneSpaghetti written by wizards of old, you can assert that a specific mocked function was called once with a specific set of arguments, and then confirm it hasn't been called at all with others.

Found 11 distinct and very old bugs from these runs.