Пример #1
0
 public function testCliHeaders()
 {
     $_SERVER['HTTP_SOME_HEADER'] = TRUE;
     $obj_controller = new Headers();
     $obj_controller->dispatch();
     $this->assertEquals($obj_controller->getResponse(), ['Some-Header' => TRUE]);
 }