3 class MockApi
extends ApiBase
{
6 public function execute() {
9 public function __construct() {
12 public function getModulePath() {
13 return $this->getModuleName();
16 public function addWarning( $warning, $code = null, $data = null ) {
17 $this->warnings
[] = $warning;
20 public function getAllowedParams() {
23 'enablechunks' => false,