public testUnhandledWrite ( ) |
public function testUnhandledWrite()
{
Session::config(array('conditional' => array('adapter' => new SessionStorageConditional())));
$result = Session::write('key', 'value', array('fail' => true));
$this->assertFalse($result);
}