Merge "deferred: make DeferredUpdates::attemptUpdate() use callback owners for $fname...
[lhc/web/wiklou.git] / tests / phpunit / unit / includes / page / MovePageFactoryTest.php
1 <?php
2
3 use MediaWiki\Page\MovePageFactory;
4
5 /**
6 * @covers MediaWiki\Page\MovePageFactory
7 */
8 class MovePageFactoryTest extends MediaWikiUnitTestCase {
9 use FactoryArgTestTrait;
10
11 protected function getFactoryClass() {
12 return MovePageFactory::class;
13 }
14
15 protected function getInstanceClass() {
16 return MovePage::class;
17 }
18
19 protected static function getExtraClassArgCount() {
20 // $to and $from
21 return 2;
22 }
23 }