private function getTextNode(NodeInterface $node)
    {
        $textNode = $this->textNodeManager->findTextNodeByNode($node);

        if (null === $textNode) {
            $textNode = $this->textNodeManager->create();
            $text = $this->textManager->create();

            $textNode->setText($text);
            $textNode->setNode($node);
            $this->textManager->add($text);
            $this->textNodeManager->add($textNode);
        }

        return $textNode;
    }