mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +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();
|
|
}
|
|
|
|
}
|