sebastianbergmann/phpunit-mock-objects — comment on commit d28d8db809046d53888e466a71babbfb1dd6e839
File:  line 0
By edorian:

But the code, for me, throws an InvalidArgumentException from

PHPUnit_Framework_MockObject_Generator::257

> throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'string');