private void verifyEvent() {
   assert event != null;
   assert event.getUserId().equals(userId);
   assert event.getJobId().equals(jobId);
   assert event.getJobName().equals(jobName);
   assert event.getWorkflowId().equals(workflowId);
 }
 private void verifyEvent(final EventBase eventBase) {
   assert eventBase.getJobId().equals(jobDescription.getId());
   assert eventBase.getJobName().equals(jobDescription.getName());
   assert eventBase.getUserId().equals(context.getCredential().getIdentity());
 }