We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
b6b08a3
Added EasyMock::spy() to create a spy instead of a mock: it asserts that methods are called at least once.
EasyMock::spy()
8c08759
Wrong tag :)
It is possible to call the mock() method again on an existing mock:
mock()
$mock = EasyMock::mock('My\Class'); $mock = EasyMock::mock($mock, [ 'sayHello' => 'Hello', ]);
9710e17
Support for throwing exceptions in mocked methods.
73c7bbc
First release.