VuFind API Documentation

SessionHandlerTestCase extends TestCase
in package

Abstract base class for session handler test cases.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

$services  : PluginManager
Mock database services.
$tables  : PluginManager
Mock database tables.
getServices()  : PluginManager
Get mock database service plugin manager
getTables()  : PluginManager
Get mock database plugin manager
injectMockDatabaseDependencies()  : void
Set up mock database services for a session handler.
injectMockDatabaseTables()  : void
Set up mock databases for a session handler.
setUpDestroyExpectations()  : void
Set up expectations for the standard abstract handler's destroy behavior.

Properties

Methods

injectMockDatabaseDependencies()

Set up mock database services for a session handler.

protected injectMockDatabaseDependencies(AbstractBase $handler) : void
Parameters
$handler : AbstractBase

Session handler

Return values
void

setUpDestroyExpectations()

Set up expectations for the standard abstract handler's destroy behavior.

protected setUpDestroyExpectations(string $sessId) : void
Parameters
$sessId : string

Session ID that we expect will be destroyed.

Return values
void

Search results