title: Use of static and phpunit in closure causes: Serialization of 'Closure' is not allowed
body: <p>I am trying to instantiate and start PHPUnitTest from a closure, but I keep getting this message: </p>
  
  <p><strong>mytest::authenticate_test Exception: Serialization of 'Closure' is not allowed</strong> </p>
  
  <p>It works outside a closure without any problems and the route is managed by Aura Router.</p>
  
  <pre><code>class mytest extends TestCase {
      public function authenticate_test() {   
      // ...
      }   
  }
  
  $runner = 'PHPUnit_TextUI_TestRunner';
  $suite = new PHPUnit_Framework_TestSuite('PHPUnit');
  $suite-&gt;addTest(new mytest("authenticate_test"));
  
  $map-&gt;attach('api.v1.', '/api/v1', function ($map)  use($runner, $suite) {
      $map-&gt;route('tests', '/tests', function ($request, $response)  
      use($runner, $suite) {      
          $runner::run($suite);  // &lt;-- Error comes here
      });
  });
  </code></pre>
  
  <p>How do I proceed on this? </p>
  
  <p>Please help me on this.</p>
  
  <p>Thanks in advance.</p>