title: Can I somehow put @depends annotation inside a test method?
body: <p>I was wondering if it is possible to move the <code>@depends</code> annotation as a function call inside a test method. If it is: How? If it is not, why not?</p>
  
  <pre><code>&lt;?php
  use PHPUnit\Framework\TestCase;
  
  class DependencyFailureTest extends TestCase
  {
      public function testOne()
      {
          $this-&gt;assertTrue(false);
      }
  
      /**
       * @depends testOne
       */
      public function testTwo()
      {
      }
  }
  </code></pre>