Releases: mnapoli/phpunit-easymock
Releases · mnapoli/phpunit-easymock
0.1.2
It is possible to call the mock()
method again on an existing mock:
$mock = EasyMock::mock('My\Class');
$mock = EasyMock::mock($mock, [
'sayHello' => 'Hello',
]);
0.1.1
Support for throwing exceptions in mocked methods.