urbanairship-core/src/test/java/com/urbanairship/location/LocationServiceTest.java
@Test
    public void testLocationUpdateProviderChange() {
        Bundle bundle = new Bundle();
        bundle.putBoolean(LocationManager.KEY_PROVIDER_ENABLED, true);

        sendIntent(LocationService.ACTION_LOCATION_UPDATE, bundle);

        verify(locationManager).onSystemLocationProvidersChanged();
    }
/**
     * Test UALocationProvider is notified of changes to the availability of system location providers.
     */
Test UALocationProvider is notified of changes to the availability of system location providers.
Test UALocationProvider is notified of changes to the availability of system location providers .
@Test
    public void testLocationUpdateProviderChange() {
        Bundle bundle = new Bundle();
        bundle.putBoolean(LocationManager.KEY_PROVIDER_ENABLED, true);
        sendIntent(LocationService.ACTION_LOCATION_UPDATE, bundle);
        verify(locationManager).onSystemLocationProvidersChanged();
    }
@ Test public void testLocationUpdateProviderChange ( ) { Bundle bundle = new Bundle ( ) ; bundle . putBoolean ( LocationManager . KEY_PROVIDER_ENABLED , true ) ; sendIntent ( LocationService . ACTION_LOCATION_UPDATE , bundle ) ; verify ( locationManager ) . onSystemLocationProvidersChanged ( ) ; }
Test UALocationProvider is notified of changes to the availability of system location providers.
Test UALocationProvider is notified of changes to the availability of system location providers .