log.debug("createDocument with exceeded failed with wrong exception (expected CmisInvalidArgumentException, got "
+ e1.getClass().getName() + ").");
}
try {
ContentStream contentStream = createContent(MAX_SIZE + 1);
Properties props = createDocumentProperties("TestMaxContentSize", DOCUMENT_TYPE_ID);
fObjSvc.createDocument(fRepositoryId, props, fRootFolderId, contentStream, VersioningState.NONE, null,
null, null, null);
fail("createDocument with exceeded content size should fail.");
} catch (CmisInvalidArgumentException e) {