Add @covers tags to objectcache tests
[lhc/web/wiklou.git] / tests / phpunit / includes / XmlJsTest.php
1 <?php
2
3 /**
4 * @group Xml
5 */
6 class XmlJsTest extends PHPUnit_Framework_TestCase {
7
8 /**
9 * @covers XmlJsCode::__construct
10 * @dataProvider provideConstruction
11 */
12 public function testConstruction( $value ) {
13 $obj = new XmlJsCode( $value );
14 $this->assertEquals( $value, $obj->value );
15 }
16
17 public static function provideConstruction() {
18 return [
19 [ null ],
20 [ '' ],
21 ];
22 }
23
24 }