SilverStripe\HybridSessions\Tests\HybridSessionTest
Synopsis
class HybridSessionTest
extends SapphireTest
{
- // methods
- protected void setUp()
- public void testSetHandlersAlsoSetsKeyToEachHandler()
- public void testOpenDelegatesToAllHandlers()
- public void testCloseDelegatesToAllHandlers()
- public void testReadReturnsEmptyStringWithNoHandlers()
- public void testReadReturnsHandlerDelegateResult()
- public void testWriteDelegatesToHandlerAndReturnsTrue()
- public void testWriteReturnsFalseWithNoHandlers()
- public void testDestroyDelegatesToHandler()
- public void testGcDelegatesToHandlers()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $handler — SilverStripe\HybridSessions\Store\BaseStore
- $instance — SilverStripe\HybridSessions\HybridSession
Methods
protected
public
- testCloseDelegatesToAllHandlers()
- testDestroyDelegatesToHandler()
- testGcDelegatesToHandlers()
- testOpenDelegatesToAllHandlers()
- testReadReturnsEmptyStringWithNoHandlers()
- testReadReturnsHandlerDelegateResult()
- testSetHandlersAlsoSetsKeyToEachHandler()
- testWriteDelegatesToHandlerAndReturnsTrue()
- testWriteReturnsFalseWithNoHandlers()