GoogleLocationClient extends BaseLocationClient implements ConnectionCallbacks, OnConnectionFailedListener, LocationListener { @Override public boolean canSetUpdateIntervals() { return true; } GoogleLocationClient(@NonNull Context context);   GoogleLocationClient(@NonNull GoogleApiClient googleApiClient,
                         @NonNull FusedLocationProviderApi fusedLocationProviderApi,
                         @NonNull LocationManager locationManager); void start(); void stop(); @SuppressLint("MissingPermission") // Permission checks for location services handled in widgets void requestLocationUpdates(@NonNull LocationListener locationListener); void stopLocationUpdates(); @Override void setListener(@Nullable LocationClientListener locationClientListener); @Override @SuppressLint("MissingPermission") // Permission checks for location services handled in widgets Location getLastLocation(); @Override boolean isMonitoringLocation(); @Override boolean canSetUpdateIntervals(); @Override void setUpdateIntervals(long updateInterval, long fastestUpdateInterval); @Override void resetUpdateIntervals(); @Override void onConnected(@Nullable Bundle bundle); @Override void onConnectionSuspended(int cause); @Override void onConnectionFailed(@NonNull ConnectionResult connectionResult); @Override void onLocationChanged(Location location);  }
@Test public void canSetUpdateIntervalsShouldReturnTrue() { assertTrue(googleLocationClient.canSetUpdateIntervals()); }