GoogleFusedLocationClient extends BaseLocationClient implements ConnectionCallbacks, OnConnectionFailedListener, LocationListener { @Override public boolean canSetUpdateIntervals() { return true; } GoogleFusedLocationClient(@NonNull Application application);   GoogleFusedLocationClient(@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 @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(client.canSetUpdateIntervals()); }