public function testFetch() { $template = new Template(); $template->assign('name', 'name'); $config = ['strip_space' => true, 'view_path' => dirname(__FILE__) . DS, 'cache_id' => '__CACHE_ID__', 'display_cache' => true]; $data = ['name' => 'value']; $template->layout('layout')->fetch('display', $data, $config); $this->expectOutputString('value'); }