Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message for getMock's invalid $methods argument
Now gives better error message: ``` There was 1 error: 1) ExampleTest::testExample PHPUnit_Framework_Exception: Argument sebastianbergmann#2 (string#__construct)of PHPUnit_Framework_MockObject_Generator::getMock() must be a array /<path>/ExampleTest.php:8 ``` Instead of: ``` There was 1 error: 1) ExampleTest::testExample InvalidArgumentException: /<path>/ExampleTest.php:8 ```
- Loading branch information