示例#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);
 }