@Override
 protected void setUp() throws Exception {
   super.setUp();
   try {
     Configuration config = new Configuration();
     DefaultObjectWrapper wrapper = new DefaultObjectWrapper();
     config.setTemplateExceptionHandler(TemplateExceptionHandler.HTML_DEBUG_HANDLER);
     config.setObjectWrapper(wrapper);
     config.setTemplateExceptionHandler(TemplateExceptionHandler.DEBUG_HANDLER);
     TemplateModel templateModel = this.createModel(wrapper);
     ExecutorBeanContainer ebc = new ExecutorBeanContainer(config, templateModel);
     super.getRequestContext()
         .addExtraParam(SystemConstants.EXTRAPAR_EXECUTOR_BEAN_CONTAINER, ebc);
   } catch (Throwable t) {
     throw new Exception(t);
   }
 }
  public void testAddGetDeleteActionRecord() throws Throwable {
    ActionLogRecord record1 =
        this._helper.createActionRecord(
            0, "username1", "actionName1", "namespace1", null, "params1");
    ActionLogRecord record2 =
        this._helper.createActionRecord(
            0, "username2", "actionName2", "namespace2", null, "params2");

    this._actionLoggerManager.addActionRecord(record1);
    this._actionLoggerManager.addActionRecord(record2);
    super.waitThreads(IActionLogManager.LOG_APPENDER_THREAD_NAME_PREFIX);

    ActionLogRecord addedRecord1 = this._actionLoggerManager.getActionRecord(record1.getId());
    this.compareActionRecords(record1, addedRecord1);
    ActionLogRecord addedRecord2 = this._actionLoggerManager.getActionRecord(record2.getId());
    this.compareActionRecords(record2, addedRecord2);

    this._actionLoggerManager.deleteActionRecord(record1.getId());
    assertNull(this._actionLoggerManager.getActionRecord(record1.getId()));

    this._actionLoggerManager.deleteActionRecord(record2.getId());
    assertNull(this._actionLoggerManager.getActionRecord(record2.getId()));
  }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   this.init();
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   this.init();
   this.activeMailManager(false);
 }
 @Override
 protected void tearDown() throws Exception {
   this.waitForSentNewsletter();
   this.activeMailManager(true);
   super.tearDown();
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   this.init();
   this._helper.cleanRecords();
 }
 @Override
 protected void tearDown() throws Exception {
   this._helper.cleanRecords();
   super.tearDown();
 }