WorkManager Testing is a library for testing app code that runs using WorkManager.
This testing library provides a way to manually initialize WorkManager for tests by using
WorkManagerTestInitHelper. Once initialized, you can use
drive constraints and timing-related triggers for your background work.
For ease of testing, this library defaults to using a synchronous
Executor; you can change this in the
Configuration if you wish.