public void setIsUserResolvableError(final boolean isUserResolvableError) {
    this.isUserResolvableError = isUserResolvableError;
  }
@Test
  public void setIsUserResolvableError() {
    // Given an injected user resolvable error flag
    final ShadowGoogleApiAvailability shadowGoogleApiAvailability =
        Shadows.shadowOf(GoogleApiAvailability.getInstance());
    shadowGoogleApiAvailability.setIsUserResolvableError(true);

    // When getting the actual flag value
    final boolean actual =
        GoogleApiAvailability.getInstance().isUserResolvableError(ConnectionResult.API_UNAVAILABLE);

    // Then verify that its equal to true
    assertThat(actual).isTrue();
  }