public function getContentType() { return $this->_contentType; }
public function testSetContentType() { $response = new THttpResponse(); $response->init(null); $response->setContentType('image/jpeg'); self::assertEquals('image/jpeg', $response->getContentType()); $response->setContentType('text/plain'); self::assertEquals('text/plain', $response->getContentType()); }