()     {         $cache = new RedisCache($this->getRedisHost(), $this->getRedisPort());         static::assertFalse($cache->has('foo'));     }      /** @test */     public function get_existing_key()     {         $cache = new RedisCache($this->getRedisHost(), $this->getRedisPort());         $cache->put('foo', 'bar', 0);         static::assertTrue($cache->has('foo'));         static::assertEquals('bar', $cache->get('foo'));     }      /** @test */     public function get_non_existing_key()     {         $cache = new RedisCache($this->getRedisHost(), $this->getRedisPort());         static::assertNull($cache->get('foo'));     }      /** @test */     public function pull_existing_key()     {         $cache = new RedisCache($this->getRedisHost(), $this->getRedisPort());         $cache->put('foo', 'bar', 0);         static::assertTrue($cache->has('foo'));         static::assertEquals('bar', $cache->pull('foo'));         static::assertFalse($cache->has('foo'));         static::assertNull($cache->get('foo'));     }      /** @test */     public function pull_non_existing_key()     {         $cache = new RedisCache($this->getRedisHost(), $this->getRedisPort());         static::assertNull($cache->