@Test
public void shouldBuildAudioUrlFromChildModel() throws IOException {

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