/**
   * Set up.
   *
   * <p>Load configuration, prepare database, and create the testing instances.
   *
   * @throws Exception to JUnit.
   */
  protected void setUp() throws Exception {
    TestHelper.loadConfigurations();
    TestHelper.executeDBScript(TestHelper.SCRIPT_FILL);

    generator = IDGeneratorFactory.getIDGenerator("phase_id_seq");

    persistence =
        new InformixPhasePersistence(
            new DBConnectionFactoryImpl(TestHelper.CONNECTION_FACTORY_NAMESPACE),
            "informix",
            generator);
  }
 /**
  * Tear down.
  *
  * <p>Clear database, close all connections, clear configurations.
  *
  * @throws Exception to JUnit.
  */
 protected void tearDown() throws Exception {
   TestHelper.executeDBScript(TestHelper.SCRIPT_CLEAR);
   TestHelper.closeAllConnections();
   TestHelper.clearAllConfigurations();
 }