Extends
lithium\test\Unit
Tests a scenario where no session handler is available that matches the passed parameters.
Returns
voidSource
public function testUnhandledWrite() {
Session::config(array(
'conditional' => array('adapter' => new SessionStorageConditional())
));
$result = Session::write('key', 'value', array('fail' => true));
$this->assertFalse($result);
}