* @covers XMLTypeCheck
*/
class XmlTypeCheckTest extends PHPUnit_Framework_TestCase {
+
+ use MediaWikiCoversValidator;
+
const WELL_FORMED_XML = "<root><child /></root>";
const MAL_FORMED_XML = "<root><child /></error>";
// @codingStandardsIgnoreStart Generic.Files.LineLength
null,
false,
[
- 'processing_instruction_handler' => function() use ( &$called ) {
+ 'processing_instruction_handler' => function () use ( &$called ) {
$called = true;
}
]