/** * @test */ public function existsReturnsTrueIfTheSpecifiedKeyExistsAndIsNull() { $this->viewHelperVariableContainer->add('Foo\\Bar', 'someKey', NULL); $this->assertTrue($this->viewHelperVariableContainer->exists('Foo\\Bar', 'someKey')); }
/** * @test */ public function existsReturnsTrueIfTheSpecifiedKeyExistsAndIsNull() { $this->viewHelperVariableContainer->add('TYPO3Fluid\\Fluid\\ViewHelper\\NonExistent', 'someKey', NULL); $this->assertTrue($this->viewHelperVariableContainer->exists('TYPO3Fluid\\Fluid\\ViewHelper\\NonExistent', 'someKey')); }