### Question:
AbstractRestUploader extends BaseUploader { public URI getUri() { return uri; } AbstractRestUploader(NightscoutPreferences preferences, URI baseUri); URI getUri(); HttpClient getClient(); void setClient(HttpClient client);  }### Answer:
@Test public void testUploads_setsUrl() throws Exception { setUpExecuteCaptor(); restUploader.uploadGlucoseDataSets(Lists.newArrayList(mockGlucoseDataSet())); assertThat(captor.getValue().getURI(), is(not(nullValue()))); assertThat(captor.getValue().getURI().toString(), is("http: }