/**
  * Resets the path and os settings in {@link phpucFileUtil}.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     phpucFileUtil::setOS();
     phpucFileUtil::setPaths();
     $this->cwd = getcwd();
     chdir(PHPUC_TEST_DIR);
 }
 /**
  * Initializes the test directories and files for the executable test.
  *
  * @param integer $os The operation system.
  *
  * @return void
  */
 protected function initExecutableTest($os = phpucFileUtil::OS_UNIX)
 {
     // Set operation system to unix
     phpucFileUtil::setOS($os);
     // Set fake environment directories
     phpucFileUtil::setPaths($this->createTestDirectories(array('/usr/bin', '/usr/local/bin')));
     if ($os === phpucFileUtil::OS_WINDOWS) {
         $this->createTestFile('/usr/bin/svn.cmd');
     } else {
         $this->createTestFile('/usr/bin/svn');
     }
 }