sebastianbergmann/phpunit-mock-objects — pull request #112 by whatthejeff (2013-01-09 02:56:12+00:00)
Title: Similar mocks with different argument cloning options should not be equal

The following should return different mocks:

```php
$mockWithCloning = $this->getMockBuilder('SomeClass')
->setMethods(array('doSomethingElse'))
->enableArgumentCloning()
->getMock();

$mockWithoutCloning = $this->getMockBuilder('SomeClass')
->setMethods(array('doSomethingElse'))
->disableArgumentCloning()
->getMock();
```