/** * test add footer data */ public function testAddFooterData() { $expectedReturnValue = '<tag method="private" name="test" />'; $this->fixture->addFooterData('<tag method="private" name="test" />'); $out = $this->fixture->render(\TYPO3\CMS\Core\Page\PageRenderer::PART_FOOTER); $this->assertContains($expectedReturnValue, $out); }