mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-18 19:20:31 +00:00
21 lines
471 B
PHP
21 lines
471 B
PHP
<?php
|
|
|
|
use PortableInfobox\Parser\Nodes\NodeUnimplemented;
|
|
|
|
/**
|
|
* @group PortableInfobox
|
|
* @covers PortableInfobox\Parser\Nodes\NodeUnimplemented
|
|
*/
|
|
class NodeUnimplementedTest extends MediaWikiIntegrationTestCase {
|
|
|
|
public function testNewFromXML() {
|
|
$this->expectException( PortableInfobox\Parser\Nodes\UnimplementedNodeException::class );
|
|
|
|
( new NodeUnimplemented(
|
|
PortableInfobox\Parser\XmlParser::parseXmlString( "<foo/>" ),
|
|
[]
|
|
) )->getData();
|
|
}
|
|
|
|
}
|