GitHubSign in

An object that simulates the behavior of real objects in controlled ways, commonly used in unit testing to isolate the unit of work from its dependencies.

"Mocks are used to test the interactions between a class and its dependencies, ensuring that the class behaves as expected when its dependencies are not present."

@openai