/**
	 * Tests the JApplicationWeb::getHeaders method.
	 *
	 * @return  void
	 *
	 * @since   11.3
	 */
	public function testGetHeaders()
	{
		// Fill the header body with an arbitrary value.
		TestReflection::setValue(
			$this->class,
			'response',
			(object) array(
				'cachable' => null,
				'headers' => array('ok'),
				'body' => null,
			)
		);

		$this->assertThat(
			$this->class->getHeaders(),
			$this->equalTo(array('ok')),
			'Checks the headers part of the response is returned correctly.'
		);
	}
 /**
  * Tests the JApplicationWeb::getHeaders method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testGetHeaders()
 {
     // Fill the header body with an arbitrary value.
     TestReflection::setValue($this->class, 'response', (object) array('cachable' => null, 'headers' => array('ok'), 'body' => null));
     $this->assertEquals(array('ok'), $this->class->getHeaders());
 }
 /**
  * Tests the JApplicationWeb::getHeaders method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testGetHeaders()
 {
     // Fill the header body with an arbitrary value.
     $this->inspector->setClassProperty('response', (object) array('cachable' => null, 'headers' => array('ok'), 'body' => null));
     $this->assertThat($this->inspector->getHeaders(), $this->equalTo(array('ok')), 'Checks the headers part of the response is returned correctly.');
 }