/**
	 * Test JDocumentRenderer::getContentType().
	 *
	 * @since 11.3
	 *
	 * @return void
	 */
	public function testGetContentType()
	{
		$this->assertThat(
			$this->object->getContentType(),
			$this->equalTo('text/html')
		);
	}
예제 #2
0
	/**
	 * @todo Implement testGetContentType().
	 */
	public function testGetContentType() {
		$doc = new JDocument;
		$this->object = new JDocumentRenderer($doc);
		$this->assertThat(
			$this->object->getContentType(),
			$this->equalTo('text/html')
		);
	}
예제 #3
0
 public function testGetTheDefaultContentType()
 {
     $this->assertEquals('text/html', $this->object->getContentType());
 }