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',
]);
It is possible to call the mock()
method again on an existing mock:
$mock = EasyMock::mock('My\Class');
$mock = EasyMock::mock($mock, [
'sayHello' => 'Hello',
]);