public function testSet() { $redis = $this->getMock('Predis\\Client'); $storage = new RedisStorage($redis); $storage->set('foo', array('a' => 'b')); }