@Test
public void testOnReceiveWhenIntentNotNullTC3() {

    // when ACCESS_FINE_LOCATION permission missing
    CTGeofenceBootReceiver receiver = new CTGeofenceBootReceiver();
    CTGeofenceBootReceiver spy = Mockito.spy(receiver);
    PowerMockito.when(Utils.hasPermission(application, Manifest.permission.ACCESS_FINE_LOCATION))
            .thenReturn(false);
    Intent intent = new Intent(Intent.ACTION_BOOT_COMPLETED);
    spy.onReceive(application, intent);
    verify(spy, never()).goAsync();
}