@Test public void channelKind_queueAndTopic_queueOnQueueName() throws JMSException {

  QueueAndTopic destination = mock(QueueAndTopic.class);
  when(destination.getQueueName()).thenReturn("queue-foo");
  assertThat(MessageParser.channelKind(destination))
    .isEqualTo("queue");
}