SessionFileHandlerTest extends TestCase
Integration tests for the session service.
Table of Contents
testSessionWrite() | Test FileSessionHandler works with our locator | mixed |
---|---|---|
testUsingSessionDouble() | mixed | |
testUsingSessionService() | mixed | |
getSession() | Simulate session service with database handler. | Session |
sessionTests() | mixed |
Methods
testSessionWrite()
Test FileSessionHandler works with our locator
public
testSessionWrite(
)
: mixed
Return values
mixedtestUsingSessionDouble()
public
testUsingSessionDouble(
)
: mixed
Tags
Return values
mixedtestUsingSessionService()
public
testUsingSessionService(
)
: mixed
Tags
Return values
mixedgetSession()
Simulate session service with database handler.
protected
getSession(
)
: Session
We can't use the real service as it is created before we can even setup the in-memory database with the basic table we need
Return values
SessionsessionTests()
protected
sessionTests(
$session :
Session
)
: mixed
Parameters
- $session : Session