// Lets check the value of the emergency.getRevision(), it should be 1
Assert.assertEquals(1, ((Emergency) process.getVariable("emergency")).getRevision());
System.out.println("Completing the first Activity");
//Complete the first human activity
humanActivitiesSimHandler.completeWorkItem();
// Is the Process still Active?
Assert.assertEquals(ProcessInstance.STATE_ACTIVE, process.getState());
//I need to call the FireAllRules method because I have a RuleTask inside the business process
int fired = ksession.fireAllRules();