urbanairship-core/src/test/java/com/urbanairship/location/LocationServiceTest.java
@Test
    public void testLocationUpdateNullLocation() {
        sendIntent(LocationService.ACTION_LOCATION_UPDATE);

        // Should not call record location
        verify(locationManager, times(0)).onLocationUpdate(any(Location.class));
    }
/**
     * Test location updates with a null location does nothing.
     */
Test location updates with a null location does nothing.
Test location updates with a null location does nothing .
@Test
    public void testLocationUpdateNullLocation() {
        sendIntent(LocationService.ACTION_LOCATION_UPDATE);
        verify(locationManager, times(0)).onLocationUpdate(any(Location.class));
    }
@ Test public void testLocationUpdateNullLocation ( ) { sendIntent ( LocationService . ACTION_LOCATION_UPDATE ) ; verify ( locationManager , times ( 0 ) ) . onLocationUpdate ( any ( Location . class ) ) ; }
Test location updates with a null location does nothing.
Test location updates with a null location does nothing .
// Should not call record location