assertNotNull (id);
String renditionFilter = "*";
List<RenditionData> renditions = fObjSvc.getRenditions(fRepositoryId, id, renditionFilter, null, null, null);
assertNotNull(renditions);
assertEquals(1, renditions.size());
RenditionData rd = renditions.get(0);
assertEquals(PNG, rd.getMimeType());
assertEquals("cmis:thumbnail", rd.getKind());
assertEquals(id, rd.getRenditionDocumentId());
assertNotNull(rd.getBigHeight());
assertNotNull(rd.getBigWidth());
assertEquals(DocumentImpl.ICON_SIZE, rd.getBigHeight().longValue());
assertEquals(DocumentImpl.ICON_SIZE, rd.getBigWidth().longValue());
assertNotNull(rd.getStreamId());
ContentStream renditionContent = fObjSvc.getContentStream(fRepositoryId, id, rd.getStreamId(), null, null, null);
assertEquals(rd.getMimeType(), renditionContent.getMimeType());
readThumbnailStream(renditionContent.getStream());
} catch (Exception e) {
log.error("testFolderRendition failed with exception ", e);
fail("testFolderRendition failed with exceetion " + e);
}