Other cleanup includes - Adding method scopes - Fixing php comments - Adding todos Change-Id: I0a231008e6a59110ffcab6af1bd8c4d3ee13f21d
24 lines
384 B
PHP
24 lines
384 B
PHP
<?php
|
|
|
|
/**
|
|
* @group Xml
|
|
*/
|
|
class XmlJs extends MediaWikiTestCase {
|
|
|
|
/**
|
|
* @covers XmlJsCode::__construct
|
|
* @dataProvider provideConstruction
|
|
*/
|
|
public function testConstruction( $value ) {
|
|
$obj = new XmlJsCode( $value );
|
|
$this->assertEquals( $value, $obj->value );
|
|
}
|
|
|
|
public function provideConstruction(){
|
|
return array(
|
|
array( null ),
|
|
array( '' ),
|
|
);
|
|
}
|
|
|
|
}
|