Testing WorkManager Worker classes which use Assisted Dependency Injection
This article is for someone who wants to write tests for the business logic inside their Worker classes that use Assisted Dependency Injection.
Suppose you have a Worker which looks like below and you want to test its business logic.
@HiltWorker
clas...
avidraghav.hashnode.dev6 min read