around this issue Yes, it is doing something. The app will be logging analytics events according to its configuration according to the google-services.json file that you used to build the app. This is a really good reason to separate your test builds from your production builds. The Firebase team recommends that you create different projects for each one of your test environments (e.g. dev, staging, prod) so that the information gathered in once project does not affected the others.
NullPointerException from LeakCanary when running Robolectric tests