public function iMoveANodeToPath($position, $path, $table)
{
if ($this->isolated === true) {
$this->callStepInSubProcess(__METHOD__, sprintf(' %s %s %s %s %s %s', 'string', escapeshellarg($position), 'string', escapeshellarg($path), escapeshellarg(\Neos\Flow\Tests\Functional\Command\TableNode::class), escapeshellarg(json_encode($table->getHash()))));
} else {
$rows = $table->getHash();
$context = $this->getContextForProperties($rows[0]);
$node = $this->iShouldHaveOneNode();
$referenceNode = $context->getNode($path);
if ($position === 'into') {
$node->moveInto($referenceNode);
} elseif ($position === 'after') {
$node->moveAfter($referenceNode);
} else {
$node->moveBefore($referenceNode);
}
}
}