codepath / codepath/android_guides
How to Mock an injected object that is not declared in Module?
Open
- Dominant language
- No language data
- Stars
- 28.3k
- Forks
- 6.2k
- PR merge metrics
- No merged PRs in 30d
Description
It's simple to Mock the injecting object that is declared in Module. However for injected object that is not declared in Module (i.e. @inject declared in the constructor of the object directly), how could one mock it? More illustration of the question in http://stackoverflow.com/q/39450182/3286489. Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.