public function process() { $argList = func_get_args(); $section = $argList[0]; $this->_section = $section; parent::process(); }
/** * * @dataProvider providerTestFetch * * @param Miao_Office_ViewBlock $viewBlock * @param array $templates * @param unknown_type $expected * @param unknown_type $exception */ public function testFetch($viewBlock, $templates, $expected, $exception = '') { $viewBlock->process(); $actual = $viewBlock->fetch($templates); $this->assertEquals($expected, $actual); }