/** * @test */ public function aSetValueCanBeRemovedAgain() { $this->viewHelperVariableContainer->add('Foo\\Bar', 'nonExistentKey', 'value1'); $this->viewHelperVariableContainer->remove('Foo\\Bar', 'nonExistentKey'); $this->assertFalse($this->viewHelperVariableContainer->exists('Foo\\Bar', 'nonExistentKey')); }
/** * @test */ public function aSetValueCanBeRemovedAgain() { $this->viewHelperVariableContainer->add('TYPO3Fluid\\Fluid\\ViewHelper\\NonExistent', 'nonExistentKey', 'value1'); $this->viewHelperVariableContainer->remove('TYPO3Fluid\\Fluid\\ViewHelper\\NonExistent', 'nonExistentKey'); $this->assertFalse($this->viewHelperVariableContainer->exists('TYPO3Fluid\\Fluid\\ViewHelper\\NonExistent', 'nonExistentKey')); }