AndroidLocationClient extends BaseLocationClient implements android.location.LocationListener { @Override public boolean canSetUpdateIntervals() { return false; } AndroidLocationClient(@NonNull Context context);   AndroidLocationClient(@NonNull LocationManager locationManager); @Override void start(); @Override void stop(); @Override @SuppressLint("MissingPermission") // Permission checks for location services handled in widgets void requestLocationUpdates(@NonNull LocationListener locationListener); @Override 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 onLocationChanged(Location location); @Override void onStatusChanged(String provider, int status, Bundle extras); @Override void onProviderEnabled(String provider); @Override void onProviderDisabled(String provider);  }
@Test public void canSetUpdateIntervalsShouldReturnFalse() { assertFalse(androidLocationClient.canSetUpdateIntervals()); }