opensupports/server/tests/__mocks__/SessionCookieMock.php

27 lines
491 B
PHP
Raw Normal View History

2017-11-06 20:06:34 +01:00
<?php
class SessionCookie extends \Mock {
public static $functionList = array();
public $user;
public static function getDataStore() {
return new SessionCookie();
}
public function __construct() {
$this->user = new \Mock();
$this->user->id = 'MOCK_ID';
}
public function isNull() {
return false;
}
public function setProperties() {
return null;
}
public function store() {
return null;
}
}