Inheritance: extends lithium\storage\session\adapter\Php
Example #1
0
 public function testDeleteThrowException()
 {
     $Php = new MockPhp(array('init' => false));
     $this->expectException('/Could not start session./');
     $Php->delete('whatever');
 }
Example #2
0
 public function testDeleteThrowException()
 {
     $php = new MockPhp(array('init' => false));
     $this->assertException('/Could not start session./', function () use($php) {
         $php->delete('whatever');
     });
 }