Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation to MockMethodDispatcher that this class is only ever l…
…oaded by the bootstrap class loader. This is normally assured by Mockito but other testing frameworks that work with instrumentation can interfer with this. This might be difficult to discover for those frameworks as seen with Robolectric. This explicit error should help to discover such discrepencies.
- Loading branch information