Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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());
 }