23 $string = 'I can work quite effectively in a train!';
24 $node = new \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\TextNode($string);
25 $this->assertEquals($node->evaluate($this->getMock('TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContext')), $string, 'The rendered string of a text node is not the same as the string given in the constructor.');