Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function testRenderRecursive() |
||
44 | { |
||
45 | $view = new View('psi/recurse'); |
||
46 | $view['hello'] = 'goodbye'; |
||
47 | $view['foobar'] = new View('psi/test'); |
||
48 | $view['foobar']['foobar'] = 'hello'; |
||
49 | $view['foobar']->setValue('boo'); |
||
50 | $output = $this->renderer->render($view); |
||
51 | $this->assertEquals(<<<'EOT' |
||
52 | goodbye |
||
53 | hello |
||
54 | boo |
||
55 | |||
56 | |||
57 | EOT |
||
58 | , $output); |
||
59 | } |
||
60 | } |
||
61 |