3 namespace MediaWiki\Tests\Api
;
5 use MediaWiki\Api\ApiQueryBase
;
7 class MockApiQueryBase
extends ApiQueryBase
{
11 public function execute() {
14 public function __construct( $name = 'mock' ) {
18 public function getModuleName() {
22 public function getModulePath() {
23 return 'query+' . $this->getModuleName();