for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Da\tests\Helper;
use Da\Mailer\Helper\PhpViewFileHelper;
use PHPUnit_Framework_TestCase;
class PhpViewFileHelperTest extends PHPUnit_Framework_TestCase
{
public function testRender()
$view = __DIR__ . '/../data/test_view.php';
$content = PhpViewFileHelper::render($view, ['force' => 'force', 'with' => 'with', 'you' => 'you']);
$this->assertEquals("The force be with you!\n", $content);
}