mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-12 00:26:47 +00:00
22 lines
456 B
PHP
22 lines
456 B
PHP
<?php
|
|
|
|
use PortableInfobox\Parser\Nodes\NodeUnimplemented;
|
|
|
|
/**
|
|
* @group PortableInfobox
|
|
* @covers PortableInfobox\Parser\Nodes\NodeUnimplemented
|
|
*/
|
|
class NodeUnimplementedTest extends MediaWikiTestCase {
|
|
|
|
/**
|
|
* @expectedException PortableInfobox\Parser\Nodes\UnimplementedNodeException
|
|
*/
|
|
public function testNewFromXML() {
|
|
( new NodeUnimplemented(
|
|
PortableInfobox\Parser\XmlParser::parseXmlString( "<foo/>" ),
|
|
[]
|
|
) )->getData();
|
|
}
|
|
|
|
}
|