You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user is typing an interface, but actually expecting the specific implementation to be available. Static analysis notices this when used.
A new mutator might set this property to a mocked interface which does the absolute minimum to match the interface, it would mean any reliance on the specific implementation would fail.
Describe alternatives you've considered
Incorporate static analysis output in some way instead?
Additional context
User claims "code works, tests work" and is wondering what is static analysis on about here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A user has a class like so
Describe the solution you'd like
The user is typing an interface, but actually expecting the specific implementation to be available. Static analysis notices this when used.
A new mutator might set this property to a mocked interface which does the absolute minimum to match the interface, it would mean any reliance on the specific implementation would fail.
Describe alternatives you've considered
Incorporate static analysis output in some way instead?
Additional context
User claims "code works, tests work" and is wondering what is static analysis on about here.
The text was updated successfully, but these errors were encountered: