Пример #1
0
  @Override
  protected void tearDown() throws Exception {
    super.tearDown();

    if (listener != null) {
      processEngineConfiguration.getEventDispatcher().removeEventListener(listener);
    }
  }
Пример #2
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   listener = new TestActivitiEntityEventListener(Job.class);
   processEngineConfiguration.getEventDispatcher().addEventListener(listener);
 }