public testCanUseObjectPropertiesForSubstitutions ( ) |
public function testCanUseObjectPropertiesForSubstitutions()
{
$view = new \stdClass();
$view->planet = 'World';
$test = $this->mustache->render('Hello {{planet}}', $view);
$this->assertEquals('Hello World', $test);
}