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

    final VoiceXmlDocument document = new VoiceXmlDocument();
    final URI uri = map.getUri("/test");
    map.addDocument(uri, document);
    final DocumentDescriptor descriptor = new DocumentDescriptor(uri);
    final Document retrievedDocument = context.loadDocument(descriptor);
    Assert.assertEquals(document.toString(), retrievedDocument.toString());
}