%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/
Upload File :
Create Path :
Current File : //proc/thread-self/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/XmlJsTest.php

<?php

/**
 * @group Xml
 */
class XmlJsTest extends PHPUnit\Framework\TestCase {

	use MediaWikiCoversValidator;

	/**
	 * @covers XmlJsCode::__construct
	 * @dataProvider provideConstruction
	 */
	public function testConstruction( $value ) {
		$obj = new XmlJsCode( $value );
		$this->assertEquals( $value, $obj->value );
	}

	public static function provideConstruction() {
		return [
			[ null ],
			[ '' ],
		];
	}

}

Zerion Mini Shell 1.0