Implement extension registration from an extension.json file
[mediawiki.git] / tests / phpunit / includes / XmlJsTest.php
blob0dbb01090c8f076c3a58d251ca19f2701dd00cbc
1 <?php
3 /**
4 * @group Xml
5 */
6 class XmlJs extends MediaWikiTestCase {
8 /**
9 * @covers XmlJsCode::__construct
10 * @dataProvider provideConstruction
12 public function testConstruction( $value ) {
13 $obj = new XmlJsCode( $value );
14 $this->assertEquals( $value, $obj->value );
17 public static function provideConstruction() {
18 return array(
19 array( null ),
20 array( '' ),