public function testChainability() { $params = array('hi' => 'yo'); $this->tpl->setParams($params)->setStatus(Http::STATUS_NOT_FOUND); $this->assertEquals(Http::STATUS_NOT_FOUND, $this->tpl->getStatus()); $this->assertEquals(array('hi' => 'yo'), $this->tpl->getParams()); }