public HibernateRedDeerTest() {
    super();

    EditorHandler.getInstance().closeAll(false);

    ProjectExplorer pe = new ProjectExplorer();
    pe.open();
    pe.deleteAllProjects();

    sim.unregisterAll();
    String enabled = System.getProperty("hibernate.reddeer.errorLogInterceptor");
    if (enabled != null) sim.register(LOG_INTERCEPTOR, new ErrorLogInterceptor());
  }