@Test(timeout = 5000)
public void testPlay() throws Exception, JVoiceXMLEvent {

    final TextSynthesizedOutput textOutput = new TextSynthesizedOutput();
    final String prompt = "testPlay";
    final SpeakableSsmlText speakable = new SpeakableSsmlText(prompt,
            Locale.US);
    textOutput.queueSpeakable(speakable, sessionId, null);
    telephony.play(textOutput, null);
    synchronized (lock) {
        lock.wait(MAX_WAIT);
    }
    assertEquals(speakable.getDocument(), receivedDocument);
}