fix for issue #139 - https://github.com/sebastianbergmann/phpunit-mock-objects/issues/139
Merge pull request #153 from roman-shuhov/master

fix for issue #139