@Test
public void shouldUseLastEnquirySyncTimestampToRetreiveIds() throws Exception {

    String response = "[{\"location\":\"http://whatever/api/children/5-1ed26a0e5072830a9064361a570684f6\"},{\"location\":\"http://whatever/api/children/4-b011946150a16b0d2c6271aed05e2abe\"}]";
    long time = 1412330399491l;
    getApplicationInstance().getSharedPreferences().edit().putLong(RapidFtrApplication.LAST_ENQUIRY_SYNC, time).commit();
    getFakeHttpLayer().addHttpResponseRule("http://whatever/api/enquiries?updated_after=2014-10-03%2009%3A59%3A59UTC", response);
    new EnquirySyncService(mockContext(), enquiryHttpDao, enquiryRepository).getIdsToDownload();
}