assertEquals(2, ((List)result).size());
assertTrue(((List)result).get(0) instanceof DataHandler);
DataHandler dh = (DataHandler)((List)result).get(0);
ByteArrayOutputStream baos = new ByteArrayOutputStream(4);
dh.writeTo(baos);
assertEquals("foovalue", baos.toString());
assertTrue(((List)result).get(1) instanceof DataHandler);
dh = (DataHandler)((List)result).get(1);
baos = new ByteArrayOutputStream(4);