1<?php 2 3class MockApiQueryBase extends ApiQueryBase { 4 private $name; 5 6 public function execute() { 7 } 8 9 public function __construct( $name = 'mock' ) { 10 $this->name = $name; 11 } 12 13 public function getModuleName() { 14 return $this->name; 15 } 16 17 public function getModulePath() { 18 return 'query+' . $this->getModuleName(); 19 } 20} 21