public function testPersist()
 {
     static::assertInstanceOf(RedisStorage::class, $this->redisStorage);
     $persist = new RedisNotifPersist($this->redisStorage);
     $payload = ['fireTime' => $this->fireTime, 'snsid' => '675097095878591'];
     $this->redisStorage->shouldReceive('add')->times(1)->andReturn(1);
     $ret = $persist->persist($payload);
     static::assertTrue($ret === true);
     $this->redisStorage->shouldReceive('getList')->times(1)->andReturn([$payload]);
     $list = $this->redisStorage->getList($this->fireTime);
     foreach ($list as $each) {
         static::assertEquals($payload, $each);
     }
 }