public function conditionsWork($path, $expected) { $view = $this->buildView(); $view->setTypoScriptPath($path); $view->assign('foo', 'Foo'); $this->assertSame($expected, $view->render()); }