public function basicCollectionWorks() { $view = $this->buildView(); $view->assign('collection', array('element1', 'element2')); $view->setTypoScriptPath('collection/basicLoop'); $this->assertEquals('Xelement1Xelement2', $view->render()); }