コード例 #1
0
 public function testShouldBeObjectWithChangedDecoder()
 {
     $object = new stdClass();
     $this->store->add('serialize', $object);
     $this->assertInstanceOf('stdClass', $this->store->get('serialize'));
     $this->store->forget('serialize');
 }
コード例 #2
0
 public function testFlushException()
 {
     $this->store->add('test1234', 'test', 120);
     $this->store->flush();
     $this->assertNull($this->store->get('test1234'));
 }