Esempio n. 1
0
  @Override
  protected void tearDown() throws Exception {
    super.tearDown();

    if (listener != null) {
      processEngineConfiguration.getEventDispatcher().removeEventListener(listener);
    }
  }
Esempio n. 2
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   listener = new TestActivitiEntityEventListener(Job.class);
   processEngineConfiguration.getEventDispatcher().addEventListener(listener);
 }