예제 #1
0
 public function test_same_singletons()
 {
     $a = input_manager::instance();
     $b = input_manager::instance();
     $this->assertSame($a, $b);
 }
예제 #2
0
 /**
  * Initialize the worker class.
  */
 protected function initialize()
 {
     $this->input = input_manager::instance();
     $this->output = output_manager::instance();
 }