@Test
public void shouldBuildAudioUrlFromEnquiryModel() throws IOException, JSONException {

    EntityHttpDao<Child> spyDao = spy(new EntityHttpDao<Child>(application));
    MediaSyncHelper helper = new MediaSyncHelper(spyDao, application);
    Enquiry enquiry = new Enquiry("{}");
    enquiry.put("_id", "1234");
    doReturn(null).when(spyDao).getResourceStream(any(String.class));
    helper.getAudio(enquiry);
    verify(spyDao).getResourceStream("/enquiry/1234/audio");
}