Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatic verification of mocks does not work in 2.2 #3005
Mock expectation are verified automatically if the instance of PHPUnit_Framework_TestCase is passed as the last argument to Stub::makeX methods.
It works well in 2.1 because all test formats extend PHPUnit_Framework_TestCase,