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

    final Block block = createBlock();
    final Prompt prompt = block.appendChild(Prompt.class);
    prompt.addText("When you hear the name of the movie you want, just say it.");
    final Audio audio1 = prompt.appendChild(Audio.class);
    audio1.setSrc("godfather.wav");
    audio1.addText("the godfather");
    final Audio audio2 = prompt.appendChild(Audio.class);
    audio2.setSrc("high_fidelity.wav");
    audio2.addText("high fidelity");
    final Audio audio3 = prompt.appendChild(Audio.class);
    audio3.setSrc("raiders.wav");
    audio3.addText("raiders of the lost ark");
    setSystemOutputListener(this);
    final PromptStrategy strategy = new PromptStrategy();
    final ImplementationPlatform platform = getImplementationPlatform();
    platform.startPromptQueuing(30000);
    executeTagStrategy(prompt, strategy);
    final CallControlProperties props = new CallControlProperties();
    platform.renderPrompts(null, null, props);
    final SsmlDocument ssml = new SsmlDocument();
    final Speak speak = ssml.getSpeak();
    speak.addText("When you hear the name of the movie you want, just say it.");
    final Audio ssmlAudio1 = speak.appendChild(Audio.class);
    ssmlAudio1.setSrc("godfather.wav");
    ssmlAudio1.addText("the godfather");
    final Audio ssmlAudio2 = speak.appendChild(Audio.class);
    ssmlAudio2.setSrc("high_fidelity.wav");
    ssmlAudio2.addText("high fidelity");
    final Audio ssmlAudio3 = speak.appendChild(Audio.class);
    ssmlAudio3.setSrc("raiders.wav");
    ssmlAudio3.addText("raiders of the lost ark");
    final SpeakableSsmlText speakable = new SpeakableSsmlText(ssml);
    Assert.assertEquals(speakable, queuedSpeakable);
}