/**
  * Tests the JApplicationWeb::sendHeaders method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testSendHeaders()
 {
     // Similulate a previous call to a setHeader method.
     TestReflection::getValue($this->class, 'response')->headers = array(array('name' => 'Status', 'value' => 200), array('name' => 'X-JWeb-SendHeaders', 'value' => 'foo'));
     $this->assertSame($this->class, $this->class->sendHeaders());
     $this->assertEquals(array(array('HTTP/1.1 200', null, 200), array('X-JWeb-SendHeaders: foo', true, null)), $this->class->headers);
 }
 /**
  * Tests the JApplicationWeb::sendHeaders method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testSendHeaders()
 {
     // Similulate a previous call to a setHeader method.
     TestReflection::getValue($this->class, 'response')->headers = array(array('name' => 'Status', 'value' => 200), array('name' => 'X-JWeb-SendHeaders', 'value' => 'foo'));
     $this->assertThat($this->class->sendHeaders(), $this->identicalTo($this->class), 'Check chaining.');
     $this->assertThat($this->class->headers, $this->equalTo(array(array('Status: 200', null, 200), array('X-JWeb-SendHeaders: foo', true, null))));
 }