opensupports/server/tests/__mocks__/APIKeyMock.php

12 lines
304 B
PHP
Raw Normal View History

2017-01-15 03:51:31 +01:00
<?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()),
));
}
}