Tag: mockery

Mockery: Partial mock

Using Mockery to mock one method of a class. In this example, we instantiate a TestClass and mock only one of its methods, the getName method were changed…