public void testParseNulls() throws Exception {
assertNull(multiDocumentParser.parse(null));
MultiDocument md = new MultiDocument();
assertNull(multiDocumentParser.parse(md));
md.addDocument(new Document());
md.addDocument(new Document());
assertNull(multiDocumentParser.parse(md));
SimpleEntity entity = baseDao.first(SimpleEntity.class);
md = baseDao.first(MultiDocument.class);
md.removeAll();
MultiDocument parsed = multiDocumentParser.parse(md);