title: "GooglePlayServicesNotAvailableException" with robolectric:4.6.1
body: <p>Can anyone please suggest how to fix it or confirm that it won't work?</p>
  <p>My test:</p>
  <pre><code>@RunWith(AndroidJUnit4.class)
  public class DemoTest {
  
  @Test
  public void testApp() throws Exception {
      // ...
      Context context = ApplicationProvider.getApplicationContext();
      ProviderInstaller.installIfNeeded(context);  &lt;&lt;&lt;--------- Throws exception here
      // ...
  }
  </code></pre>
  <p>}</p>
  <p>Stack trace:</p>
  <blockquote>
  <p>com.google.android.gms.common.GooglePlayServicesNotAvailableException at com.google.android.gms.common.GooglePlayServicesUtilLight.ensurePlayServicesAvailable(com.google.android.gms:play-services-basement@@17.3.0:73) at com.google.android.gms.common.GoogleApiAvailabilityLight.verifyGooglePlayServicesIsAvailable(com.google.android.gms:play-services-basement@@17.3.0:9) at com.google.android.gms.security.ProviderInstaller.installIfNeeded(com.google.android.gms:play-services-basement@@17.3.0:3)
  ...</p>
  </blockquote>
  <p>In build.gradle</p>
  <pre><code>testImplementation &quot;org.robolectric:robolectric:4.6.1&quot;
  testImplementation &quot;org.robolectric:shadows-play-services:3.3.2&quot;
  </code></pre>