@Override
    public void handle(SeckillWebMockRequestDTO request) {
        long seckillId = request.getSeckillId();
        redisService.removeSeckill(seckillId);
        Seckill seckill = redisService.getSeckill(seckillId);
        seckill.setStatus(SeckillStatusConstant.IN_PROGRESS);
        redisService.putSeckill(seckill);
        redisService.clearSeckillEndFlag(seckillId, request.getTaskId());
    }
@Test
    @DisplayName("Should handle request and update seckill status")
    public void shouldHandleRequestAndUpdateSeckillStatus() {
        SeckillWebMockRequestDTO request = new SeckillWebMockRequestDTO();
        request.setSeckillId(123L);
        Seckill seckill = new Seckill();
        when(redisService.getSeckill(anyLong())).thenReturn(seckill);

        redisPreRequestHandler.handle(request);

        verify(redisService).removeSeckill(anyLong());
        verify(redisService).putSeckill(seckill);
        verify(redisService).clearSeckillEndFlag(anyLong(), eq(request.getTaskId()));
    }