Mockable plugin instances & methods #6566
Unanswered
Ehesp
asked this question in
Feature request
Replies: 1 comment
-
Just adding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug report
Currently to access the reworked plugins, you access them via statics, e.g:
Since they're statics, they are not mockable.
Solutions
One solution proposed by @rrousselGit is to expose a mock static method for each plugin, e.g:
Beta Was this translation helpful? Give feedback.
All reactions