public function testUnguardClassVars() { $template = new Template(__DIR__ . '/resources/views/'); $template->layout('layouts/default'); $template->unguard('foo'); $template->foo = '<foo>'; $output = $template->render('foo'); $this->assertRegExp('/\\<foo\\>/', $output); }