@Test
public void shouldSaveAudio() throws Exception {

    Child child = new Child("id1", "user1", "{ 'recorded_audio' : 'some_audio_file_name' }");
    String data = "some audio stream 10101010";
    InputStream inputStream = new ByteArrayInputStream(data.getBytes());
    audioCaptureHelper.saveAudio(child, inputStream);
    assertTrue((new File(audioCaptureHelper.getDir(), "some_audio_file_name")).exists());
}