To simulate the behavior of external dependencies
Moq
An object used to simulate the behavior of real objects
Using the Returns method
Preparing the necessary objects and setting up the test environment
Using the Verify method
To provide predetermined responses or behavior for method calls
Real
A pattern for structuring unit tests
To enable the mocking of dependencies without relying on concrete implementations