public function renderSectionIsEvaluatedCorrectly()
{
$httpRequest = Request::create(new Uri('http://localhost'));
$actionRequest = new ActionRequest($httpRequest);
$standaloneView = new StandaloneView($actionRequest, $this->standaloneViewNonce);
$standaloneView->assign('foo', 'bar');
$standaloneView->setTemplateSource('Around stuff... <f:section name="innerSection">test {foo}</f:section> after it');
$expected = 'test bar';
$actual = $standaloneView->renderSection('innerSection');
$this->assertSame($expected, $actual);
}