public function evaluateChildNodes(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $identifiers = $this->variableContainer->getAllIdentifiers(); $callElement = array(); foreach ($identifiers as $identifier) { $callElement[$identifier] = $this->variableContainer->get($identifier); } $this->callProtocol[] = $callElement; }
/** * @test */ public function addedObjectsExistInAllIdentifiers() { $object = 'StringObject'; $this->variableContainer->add('variable', $object); $this->assertEquals($this->variableContainer->getAllIdentifiers(), array('variable'), 'Added key is not visible in getAllIdentifiers'); }