@Test
public void testSetDocument() throws Exception {

    final VoiceXmlDocument document = new VoiceXmlDocument();
    final Vxml vxml = document.getVxml();
    final Form form = vxml.appendChild(Form.class);
    final String id = "hurz";
    form.setId(id);
    interpreter.setDocument(document, null, configuration);
    final Dialog dialog = interpreter.getNextDialog();
    Assert.assertEquals(id, dialog.getId());
}