@Test public void getGeofences_shouldReturnSingleGeofence() throws Exception { Geofence geofence = new Geofence.Builder().setRequestId("test_id").build(); GeofencingRequest request = new GeofencingRequest.Builder().addGeofence(geofence).build(); assertThat(request.getGeofences().get(0).getRequestId()).isEqualTo("test_id"); }
public List<Geofence> getGeofences() { return geofences; }
GeofencingRequest { public List<Geofence> getGeofences() { return geofences; } }
GeofencingRequest { public List<Geofence> getGeofences() { return geofences; } private  GeofencingRequest(List<Geofence> geofences); }
GeofencingRequest { public List<Geofence> getGeofences() { return geofences; } private  GeofencingRequest(List<Geofence> geofences); List<Geofence> getGeofences(); }
GeofencingRequest { public List<Geofence> getGeofences() { return geofences; } private  GeofencingRequest(List<Geofence> geofences); List<Geofence> getGeofences();  }