/**
   * Set up environment.
   *
   * @throws Exception to JUnit
   */
  protected void setUp() throws Exception {
    FailureTestHelper.initializeDB();
    Helper.loadConfig(CONFIG_FILE);
    Helper.loadConfig(BAD_CONFIG_FILE);
    persistence =
        new DBPhaseTemplatePersistence(FailureTestHelper.getDBConnectionFactory(), "test");

    // create needed objects
    startDate = Calendar.getInstance().getTime();
    workdays = new DefaultWorkdays();
    project = new Project(startDate, workdays);
  }