Closed
Description
Static methods mocking with Mockito
This is a placeholder ticket for enabling mocking static methods in Mockito. Example action items that are totally negotiable and can ran in parallel. We're looking for someone who can lead this effort.
- Research + discuss whether it is a good idea to enable static methods mocking in Mockito. The theory is that it is useful for legacy code, which is most code in the world.
- Research on how other mocking frameworks do that and whether it is considered useful feature for their users.
- Design and present for discussion an API for static mocking (slightly relevant ticket: Support lambda when syntax #643)
- Work with @raphw / ByteBuddy to come up with hacky prototype (the hackier, the better!)
- Mold the prototype with the API, remove enough rough edges so that the feature is good enough for incubating rollout
- SHIP IT!