Example #1
0
 /** @test */
 public function TestFunctionPassesObject()
 {
     /*//
     	tests that the client passes itself to boring functions that are set
     	to be used as the handlers.
     	//*/
     $_SERVER['argv'][1] = 'nacho';
     $cli = new Nether\Console\Client();
     $cli->SetHandler('nacho', [__CLASS__, 'LocalNachoFunction']);
     $this->AssertTrue($cli->Run());
     return;
 }