summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/XmlJsTest.php
blob: c5b411fb473d091e40bd5af6ac5fdc84bb0e8632 (plain)
1
2
3
4
5
6
7
8
9
<?php
class XmlJs extends MediaWikiTestCase {
	public function testConstruction() {
		$obj = new XmlJsCode( null );
		$this->assertNull( $obj->value );
		$obj = new XmlJsCode( '' );
		$this->assertSame( $obj->value, '' );
	}
}