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

    String test = "Pinocchio";
    final URI uri = map.getUri("/test");
    map.addDocument(uri, test);
    final DocumentDescriptor descriptor = new DocumentDescriptor(uri);
    Object object = server.getObject(null, descriptor,
            DocumentServer.TEXT_PLAIN);
    Assert.assertEquals(test, object);
}