/** * @test */ public function purgeCachedConfigurationsDropsCachedConfiguration() { $this->testingFramework->discardFakeFrontEnd(); Tx_Oelib_TemplateHelper::setCachedConfigurationValue('foo', 'bar'); Tx_Oelib_TemplateHelper::purgeCachedConfigurations(); $subject = new Tx_Oelib_TemplateHelper(); $subject->init(); self::assertSame('', $subject->getConfValueString('foo')); }
/** * The constructor. * * @param array $configuration * TS setup configuration, may be empty */ public function __construct(array $configuration = array()) { parent::init($configuration); }