Mockery was first introduced to the Tuleap codebase to help us migrate away from SimpleTest to PHPUnit. This migration is now done and Mockery generates us more work than using directly PHPUnit native mock system (less integrations with the other tools, new PHP version supports...).
This request will covers the following points:
- ADR
- force the usage of strict mock with PHPUnit
- convert the OAuth2 Server plugin to the PHPUnit mock system as a demonstration
- transform helpers
Tuleap\GlobalLanguageMock
and Tuleap\GlobalResponseMock
to use PHPUnit mock system