source: class RedisDynoQueueTest {
  
      private static JedisMock dynoClient;
      private static final String queueName;
      private static final String redisKeyPrefix;
      private static RedisDynoQueue rdq;
      private static RedisQueues rq;
      private static String messageKey;
  
      @Test
      public void testSetTimeout() {
  
target: 
          rdq.clear();
  
          Message msg = new Message("x001", "Hello World");
          msg.setPriority(3);
          msg.setTimeout(20_000);
          rdq.push(Arrays.asList(msg));
  
          List<Message> popped = rdq.pop(1, 1, TimeUnit.SECONDS);
          assertTrue(popped.isEmpty());
  
          boolean updated = rdq.setTimeout(msg.getId(), 1);
          assertTrue(updated);
          popped = rdq.pop(1, 1, TimeUnit.SECONDS);
          assertEquals(1, popped.size());
          assertEquals(1, popped.get(0).getTimeout());
          updated = rdq.setTimeout(msg.getId(), 1);
          assertTrue(!updated);
      }
  
  }