fusionEngine.setRequest(null);
assertThat(shadowLocationManager.getRequestLocationUpdateListeners()).isEmpty();
}
@Test
public void onLocationChanged_shouldReportGps() throws Exception {
<BUG>fusionEngine.setRequest(LocationRequest.create());
Location location = new Location(GPS_PROVIDER);</BUG>
shadowLocationManager.simulateLocation(location);
assertThat(callback.location).isEqualTo(location);
}

fusionEngine.setRequest(null);
assertThat(shadowLocationManager.getRequestLocationUpdateListeners()).isEmpty();
}
@Test
public void onLocationChanged_shouldReportGps() throws Exception {
fusionEngine.setRequest(LocationRequest.create().setPriority(PRIORITY_HIGH_ACCURACY));
Location location = new Location(GPS_PROVIDER);
shadowLocationManager.simulateLocation(location);
assertThat(callback.location).isEqualTo(location);
}
