Codeception / Stub

Flexible Stub wrapper for PHPUnit's Mock Builder
MIT License
296 stars 17 forks source link

Ability to specify the arguments of Generator::getMock like $callOriginalClone, $callAutoload, ...etc. #36

Open tkfm-yamaguchi opened 3 years ago

tkfm-yamaguchi commented 3 years ago

So far, we cannot specify the third and subsequent arguments of Generator::getMock. It causes unexpected result in some case, i.e. $cloneArguments is always true so comparison like with would be failed like the issue below: https://github.com/sebastianbergmann/phpunit-mock-objects/issues/348

Is it possible to specify those parameters by Codeception's Stub?