aspect->getTemplate("parent.tpl")->_body); exit; $this->assertSame($this->aspect->fetch("parent.tpl", array("a" => "a char")), "Parent template\nBlock1: Block2: Block3: default"); } /** * @group extends */ public function testChildLevel1() { //echo($this->aspect->fetch("child1.tpl", array("a" => "a char"))); exit; } /** * @group extends */ public function _testChildLevel3() { echo($this->aspect->getTemplate("child3.tpl")->getBody()); exit; } }