How to create fakes with Moq. And what I don't like about it

from blog Just Some Code, | ↗ original
A recurring task when we write unit tests is creating replacements for collaborators. If we’re writing unit tests for an order delivery system, we don’t want to charge a credit card every time we run our tests. This is how we can create fakes using Moq. Fakes or test doubles are testable replacements for dependencies and external systems. Fakes...