public function iGetANodeByIdentifierWithTheFollowingContext($identifier, $table) { if ($this->isolated === true) { $this->callStepInSubProcess(__METHOD__, sprintf(' %s %s %s %s', 'string', escapeshellarg($identifier), escapeshellarg(\Neos\Flow\Tests\Functional\Command\TableNode::class), escapeshellarg(json_encode($table->getHash())))); } else { $rows = $table->getHash(); $context = $this->getContextForProperties($rows[0]); $node = $context->getNodeByIdentifier($identifier); if ($node !== null) { $this->currentNodes = array($node); } else { $this->currentNodes = array(); } } }