@Test
 public void testUpdateDocument() throws Exception {
   HashMap<String, Object> props = new HashMap<String, Object>();
   props.put("key1", "value1");
   String output = "Data for document";
   ByteArrayInputStream bais = new ByteArrayInputStream(output.getBytes("UTF-8"));
   long streamLength = output.length();
   processor.updateDocument(node, docPath1, props, bais, streamLength);
 }