List logs = processInstance.getLoggingInstance().getLogs();
for (Iterator iterator = logs.iterator(); iterator.hasNext();) {
Object uncastedLog = iterator.next();
if (uncastedLog instanceof ActionHandlerMessageLog) {
ActionHandlerMessageLog log = (ActionHandlerMessageLog) uncastedLog;
DeployPackageStep deployPackageStep = log.getStep();
assert deployPackageStep != null : "Step was not found in the action message log entry: " + log;
assert deployPackageStep.getStepResult() == ContentResponseResult.NOT_PERFORMED : "Step result was not marked as not run. Found: "
+ deployPackageStep.getStepResult();
assert deployPackageStep.getStepErrorMessage() == null : "Non-null error message found for not run step: "