title: PHPUnit depends doesn't pass data
body: <p>I have a simple problem, I can't pass data from one function to another. This is my code:</p>
  
  <pre><code>/**
   * @dataProvider myProvider
   */
  public function testIfPathIsString($path){
      $isValid = (is_string($path)) ? true : false;
      $this-&gt;assertEquals(true, $isValid);
      return $path;
  }
  
  /**
   * @depends testIfPathIsString
   */
  public function testIfFileExists($help){
      $exists = $this-&gt;fileController-&gt;checkIfFileExists($help);
      $this-&gt;assertEquals(true, $exists);
      return $help; 
  }
  
  public function myProvider()
  {
      return array(
          array("C:/xampp/htdocs/mycustom.txt")
      );
  }
  </code></pre>
  
  <p>First function gets path just fine but passing with annotation depends to second function fails, it sends null or empty.</p>
  
  <p>I explicitly have one correct data path in dataset so that doesn't make any sense?</p>