/**
  * @return RedisSnapshotAdapter
  */
 protected function createAdapter()
 {
     $adapter = new RedisSnapshotAdapter($this->client->reveal(), $this->serializer->reveal());
     return $adapter;
 }