public function testDispatch()
 {
     $headers = new Headers();
     $headers->setHeader('Content-Type', 'text/html');
     $this->assertTrue($headers->dispatch());
 }
Esempio n. 2
0
 /**
  *  Fire th' Cannons!!
  *
  * @return string
  */
 public function send()
 {
     $this->headers->dispatch();
     echo $this->body;
 }