function test_set_include_paths()
 {
     $paths = array('test', 'paths');
     $old_include_path = Environmentalist::set_include_paths($paths);
     assert_equal(implode(PATH_SEPARATOR, $paths), get_include_path());
     assert_equal($this->include_path, $old_include_path);
     $paths = 'test' . PATH_SEPARATOR . 'string' . PATH_SEPARATOR . 'paths';
     Environmentalist::set_include_paths($paths);
     assert_equal($paths, get_include_path());
 }
 /**
  * Sets the current registered error handlers to the array of handlers specified.
  * Returns the old registered error handlers.
  *
  * @param array $handlers
  * @return array
  **/
 static function set_error_handlers($handlers)
 {
     $old_handlers = self::error_handlers();
     self::$error_handlers = array_unique($handlers);
     return $old_handlers;
 }