mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-12 08:35:17 +00:00
20 lines
454 B
PHP
20 lines
454 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();
|
|
}
|
|
|
|
} |