@Test
public void testGetAudioInputStream() throws Exception, JVoiceXMLEvent {

    final URL file = this.getClass().getResource("/test.wav");
    final Session session = Mockito.mock(Session.class);
    Mockito.when(session.getSessionId()).thenReturn(
            UUID.randomUUID().toString());
    final String sessionId = session.getSessionId();
    final AudioInputStream in = server.getAudioInputStream(sessionId,
            file.toURI());
    Assert.assertNotNull(in);
}