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