OMText textData = factory.createOMText(dataHandler, true);
assertNotNull(textData.getContentID());
DataHandler dataHandler2 = new DataHandler(
"Apache Software Foundation", "text/plain");
OMText text = factory.createOMText(dataHandler2, true);
assertNotNull(text.getContentID());
outStream = new ByteArrayOutputStream();
outStream.write(("Content-Type: " + contentType).getBytes());
outStream.write(new byte[]{13,10});
outStream.write(new byte[]{13,10});