I have a multi module project. I want to be able to run the instrumentation tests i'm writing for these modules separately. I am continually running into the below error when I run the tests and initialize the activity.
Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first.
I have tried explicitly calling this in my test code with the test app's context, but to no avail. I know firebase is set up through the config files and I don't explicitly call it to set it up. It automatically is initialized through a content provider (read a blog) before the actual app starts.
Because it would be a static call and we don't explicitly call it, I don't see a way to mock it either. Is there a way to completely disable firebase for my UITest runs in my modules?