Fixed phpunit & mockery integration.