public function getView() { return $this->view; }
public function testSetAndGetViewPath() { $c = new Controller(); $c->setViewPath('/admin'); $this->assertEquals('/admin', $c->getViewPath()); $this->assertNull($c->getView()); }