### Question:
QueueDetail { public boolean isDlqSet() { return !StringUtils.isEmpty(deadLetterQueueName); }  boolean isDlqSet(); DeadLetterQueue getDeadLetterQueue(); QueueConfig toConfig();  }### Answer:
@Test public void isDlqSet() { QueueDetail queueDetail = TestUtils.createQueueDetail("test"); assertFalse(queueDetail.isDlqSet()); QueueDetail queueDetail2 = TestUtils.createQueueDetail("test", "test-dlq"); assertTrue(queueDetail2.isDlqSet()); }