Bug: T263583 Depends-On: Iceaa0e872c53aa79b7012711813895221fa62fa6 Change-Id: I6f131a078e9d6eb5da3533b0ac3730e24bd3f56f
27 lines
522 B
PHP
27 lines
522 B
PHP
<?php
|
|
|
|
use MediaWiki\Parser\ParserCacheFactory;
|
|
|
|
/**
|
|
* @covers \MediaWiki\Parser\ParserCacheFactory
|
|
*/
|
|
class ParserCacheFactoryTest extends MediaWikiUnitTestCase {
|
|
use FactoryArgTestTrait;
|
|
|
|
protected static function getFactoryClass() {
|
|
return ParserCacheFactory::class;
|
|
}
|
|
|
|
protected static function getInstanceClass() {
|
|
return ParserCache::class;
|
|
}
|
|
|
|
protected static function getFactoryMethodName() {
|
|
return 'getInstance';
|
|
}
|
|
|
|
protected static function getExtraClassArgCount() {
|
|
// $name
|
|
return 1;
|
|
}
|
|
}
|