I have a problem with testing a Room database: when I run the test, I get this exception:
java.lang.RuntimeException: cannot find implementation for databa
In my case, adding the following annotation above the database class solves the problem.
@Database(entities = {Entities.class}, version = 1, exportSchema = false) public abstract class TheDatabase extends RoomDatabase {...}
Thanks to @nicklocicero.