rdbms: Rename "memCache" to "memStash" in LBFactory
[mediawiki.git] / tests / phpunit / includes / XmlJsTest.php
blob29e97eb644bb94acf35f9c9d186e6a6860a3d11f
1 <?php
3 /**
4 * @group Xml
5 */
6 class XmlJs extends PHPUnit_Framework_TestCase {
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 [
19 [ null ],
20 [ '' ],