/** * @param array $expectedTags * @param array $configuration * @test * @dataProvider stdWrap_addPageCacheTagsAddsPageTagsDataProvider */ public function stdWrap_addPageCacheTagsAddsPageTags(array $expectedTags, array $configuration) { $this->subject->stdWrap_addPageCacheTags('', $configuration); $this->assertEquals($expectedTags, $this->typoScriptFrontendControllerMock->_get('pageCacheTags')); }
/** * @param array $expectedTags * @param array $configuration * @test * @dataProvider stdWrap_addPageCacheTagsAddsPageTagsDataProvider */ public function stdWrap_addPageCacheTagsAddsPageTags(array $expectedTags, array $configuration) { $this->cObj->stdWrap_addPageCacheTags('', $configuration); $this->assertEquals($expectedTags, $this->tsfe->_get('pageCacheTags')); }