@Test
public void getIdsToDownloadShouldRetrieveUrlsFromApiSinceLastUpdate() throws Exception {

    String response = "[{\"location\":\"http://blah.com/123\"},{\"location\":\"http://blah.com/234\"}]";
    getFakeHttpLayer().addHttpResponseRule("http://whatever/api/enquiries?updated_after=1970-01-01%2000%3A00%3A00UTC", response);
    List<String> enquiryIds = new EnquirySyncService(mockContext(), enquiryHttpDao, enquiryRepository).getIdsToDownload();
    assertThat(enquiryIds.get(0), is("http://blah.com/123"));
    assertThat(enquiryIds.get(1), is("http://blah.com/234"));
}