/** * @test */ public function setRootNodeCanBeReadOutAgain() { $rootNode = new RootNode(); $this->parsingState->setRootNode($rootNode); $this->assertSame($this->parsingState->getRootNode(), $rootNode, 'Root node could not be read out again.'); }
/** * @test */ public function setRootNodeCanBeReadOutAgain() { $rootNode = new RootNode(); $this->parsingState->setRootNode($rootNode); $this->assertSame($this->parsingState->getRootNode(), $rootNode, 'Root node could not be read out again.'); }