@Override
  public Map<String, Long> queuesDetail() {
    Map<String, Long> detail = new HashMap<>();
    queues.forEach((k, v) -> detail.put(k, (long) v.size()));
    return detail;
  }
@Test
  public void testQueuesDetail() {
    String queueName = "test-queue";
    String id = "abcd-1234-defg-5678";
    queueDao.pushIfNotExists(queueName, id, 123);
    assertEquals(Collections.singletonMap(queueName, 1L), queueDao.queuesDetail());
  }