Make cache static for https://github.com/sebastianbergmann/phpunit/issues/1187
Reset invocation mocker after verification
Merge branch '2.0'