wrt. Dagger 2 as far as I’ve been able to tell it ...
# random
d
wrt. Dagger 2 as far as I’ve been able to tell it doesn’t do anything special to aid with testing, and there are a bunch of outstanding issues on the github basically saying as much. As far as I’ve been able to tell if you want to switch out the object you are testing you need some kind of a swappable singleton pattern, which is the same way it would be done without Dagger 2. I would be interested to hear if there is a more reasonable way to address testing with Dagger 2 though.