@Override
public void run(Session session) {
CmisTestResult f;
if (supportsContentChanges(session)) {
ChangeEvents events = session.getContentChanges(null, true, 1000, SELECT_ALL_NO_CACHE_OC);
f = createResult(FAILURE, "Change events are null!");
addResult(assertNotNull(events, null, f));
if (events != null && events.getChangeEvents() != null) {
f = createResult(FAILURE, "Change log token is null!");
addResult(assertNotNull(events.getLatestChangeLogToken(), null, f));
for (ChangeEvent event : events.getChangeEvents()) {
f = createResult(FAILURE, "Object Id is not set!");
addResult(assertStringNotEmpty(event.getObjectId(), null, f));
f = createResult(FAILURE, "Change Type is not set! Id: " + event.getObjectId());
addResult(assertNotNull(event.getChangeType(), null, f));