sabirvirtuoso/Mockit

Static mocking?

Opened this issue · 1 comments

Hi,

Is it possible to "mock" a static object or its static functions with Mockit? If yes, how?

Thanks.

Hi,

No it is not possible as of now in Mockit implementation to mock static objects and functions. Please feel free to contribute it if you like and send me a PR.

Thanks