@Test
public void shouldFetchAudioFromServer() throws JSONException, IOException, GeneralSecurityException {

    Child child = new Child("id1", "user1", "{ '_id' : '1234abcd' ,'recorded_audio' : 'audio_file_name'}");
    getFakeHttpLayer().setDefaultHttpResponse(200, "audio stream");
    getFakeHttpLayer().addHttpResponseRule("http://whatever/child/1234abcd/audio", "OK");
    String response = CharStreams.toString(new InputStreamReader(new MediaSyncHelper(childHttpDao, application).getAudio(child)));
    assertEquals("OK", response);
}