protected function getViewScriptSuffix() { $contentSubType = ucfirst($this->response->getContentSubType()); if ($contentSubType == 'Html') { return ''; } return $contentSubType; }
public function testGetContentSubType() { $this->object->setContentType('text/html'); $contentSubType = $this->object->getContentSubType(); $this->assertEquals('html', $contentSubType); }