/**
  * @test
  */
 public function objectsAreComparedStrictlyInUnequalComparison()
 {
     $object1 = new \stdClass();
     $object2 = new \stdClass();
     $rootNode = new \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\RootNode();
     $object1Node = $this->getMock('TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode', array('evaluate'), array('foo'));
     $object1Node->expects($this->any())->method('evaluate')->will($this->returnValue($object1));
     $object2Node = $this->getMock('TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode', array('evaluate'), array('foo'));
     $object2Node->expects($this->any())->method('evaluate')->will($this->returnValue($object2));
     $rootNode->addChildNode($object1Node);
     $rootNode->addChildNode(new \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\TextNode('!='));
     $rootNode->addChildNode($object2Node);
     $booleanNode = new \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\BooleanNode($rootNode);
     $this->assertTrue($booleanNode->evaluate($this->renderingContext));
 }