title: PHPUnit for CodeIgniter error with Class PHPUnit_Util_Filesystem
body: <p>Been trying to get PHPUnit together with CIUnit in order to get tests done with codeigniter but get this error when trying to point to my phpunit install. </p>
  
  <p>PHPUnit is installed here, path is set on profile:</p>
  
  <pre><code>/home/web/phpunit/PHPUnit/
  </code></pre>
  
  <p>on the tests directory of codeigniter</p>
  
  <pre><code>/home/web/web.com/codeigniter/tests
  
  $ phpunit
  
  
  Fatal error: Class 'PHPUnit_Util_Filesystem' not found in /home/web/phpunit/PHPUnit/Autoload.php on line 209
  </code></pre>
  
  <p>offending line:</p>
  
  <pre><code>if (PHPUnit_Util_Filesystem::fileExistsInIncludePath('PHP/Invoker/Autoload.php')) {
  require_once 'PHP/Invoker/Autoload.php';
  }
  </code></pre>
  
  <p>The directory of PHPUnit folder does not have a Util folder but i manually added it and inside it has a Filesystem.php but not sure why its not accessing correctly even after adding it manually. Any help is appreciated.</p>
  
  <p>UPDATE:
  was able to use PHPUnit using the phar file. Now I get a similar error but was able to run other tests on the phpunit-master directory.</p>
  
  <p>I get now this error:</p>
  
  <pre><code>Fatal error: Call to undefined method PHPUnit_Util_Filesystem::fileExistsInIncludePath() in /home/web/web.com/codeigniter/application/third_party/CIUnit/PHPUnit/Autoload.php on line 209
  </code></pre>
  
  <p>That function does exist and inside the Filesystem. Line 92</p>
  
  <pre><code> public static function fileExistsInIncludePath($file)
  </code></pre>
  
  <p>So not sure now what the problem is.</p>