aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/XmlJsTest.php
blob: c371cd20cb98078d9a0664e47692a8deaf931c6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

/**
 * @group Xml
 */
class XmlJsTest extends MediaWikiUnitTestCase {

	/**
	 * @covers XmlJsCode::__construct
	 */
	public function testConstruction() {
		$obj = new XmlJsCode( '' );
		$this->assertSame( '', $obj->value );

		$obj = new XmlJsCode( null );
		$this->assertNull( $obj->value );
	}

}