public function testRootNodeNameMismatchException() { $this->setExpectedException('Exception'); $context = $this->getParserContextMock(); $root = new RootContext($context, 'root'); $root->start('document'); }