elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

andDo() will passthru arguments #182

Closed elliotchance closed 9 years ago

elliotchance commented 10 years ago
$this->mock('MyClass')
     ->expect('foo')->andDo(function ($a, $b) {})
     ->done();
->foo('abc', 123)
coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling e66ee30f564f639ec2f8c6b876345ca680b69c2f on 1.6/182-anddo-will-passthru-arguments into 99af448fbe7a410a3461bed3e8581fd2e60b1d3e on release/1.6.

scrutinizer-notifier commented 9 years ago

The inspection completed: 19 updated code elements