/** * @group ZF-8177 */ public function testRegisterHelperShouldRegisterViewObjectWithHelper() { $view = new View(); $helper = new Doctype(); $view->registerHelper($helper, 'doctype'); $this->assertSame($view, $helper->view); }