urbanairship-core/src/test/java/com/urbanairship/location/LocationServiceTest.java
@Test
    public void testLocationUpdate() {
        Location location = new Location("location");
        Bundle bundle = new Bundle();
        bundle.putParcelable(LocationManager.KEY_LOCATION_CHANGED, location);

        sendIntent(LocationService.ACTION_LOCATION_UPDATE, bundle);

        verify(locationManager).onLocationUpdate(eq(location));
    }
/**
     * Test location updates notifies the location manager.
     */
Test location updates notifies the location manager.
Test location updates notifies the location manager .
@Test
    public void testLocationUpdate() {
        Location location = new Location("location");
        Bundle bundle = new Bundle();
        bundle.putParcelable(LocationManager.KEY_LOCATION_CHANGED, location);
        sendIntent(LocationService.ACTION_LOCATION_UPDATE, bundle);
        verify(locationManager).onLocationUpdate(eq(location));
    }
@ Test public void testLocationUpdate ( ) { Location location = new Location ( "location" ) ; Bundle bundle = new Bundle ( ) ; bundle . putParcelable ( LocationManager . KEY_LOCATION_CHANGED , location ) ; sendIntent ( LocationService . ACTION_LOCATION_UPDATE , bundle ) ; verify ( locationManager ) . onLocationUpdate ( eq ( location ) ) ; }
Test location updates notifies the location manager.
Test location updates notifies the location manager .