opensupports/server/tests/__mocks__/APIKeyMock.php

12 lines
304 B
PHP
Executable File

<?php
include_once 'tests/__mocks__/NullDataStoreMock.php';
class APIKey extends \Mock {
public static $functionList = array();
public static function initStubs() {
parent::setStatics(array(
'getDataStore' => parent::stub()->returns(new NullDataStore()),
));
}
}