public function testTemplateWillDereferenceNestedObjects()
{
$view = new TestAsset\ViewWithNestedObjects();
$test = $this->mustache->render('template-with-dereferencing', $view);
$expected = <<<EOT
<h1>this is an object</h1>
<p>one of its attributes is a list</p>
<ul>
<li>listitem1</li>
<li>listitem2</li>
</ul>
EOT;
$this->assertEquals($expected, $test);
}