| 1 | <?php |
||
| 7 | class PhpViewFileHelperTest extends PHPUnit_Framework_TestCase |
||
| 8 | { |
||
| 9 | public function testRender() |
||
| 10 | { |
||
| 11 | $view = __DIR__ . '/../data/test_view.php'; |
||
| 12 | $content = PhpViewFileHelper::render($view, ['force' => 'force', 'with' => 'with', 'you' => 'you']); |
||
| 13 | |||
| 14 | $this->assertEquals("The force be with you!\n", $content); |
||
| 15 | } |
||
| 16 | } |
||
| 17 |