@Test public void channelKind_queueAndTopic_topicOnNoQueueName() throws JMSException {

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