@Test
public void testResolveDestinationHerdIncoming() throws Exception
{

    Session session = mock(Session.class);
    Queue queue = mock(Queue.class);
    // Mock the call to external methods
    when(session.createQueue(any())).thenReturn(queue);
    // Call the method under test
    Destination destination = herdJmsDestinationResolver.resolveDestinationName(session, HerdJmsDestinationResolver.SQS_DESTINATION_HERD_INCOMING, false);
    assertThat("Destination is null.", destination, not(nullValue()));
    // Verify the calls to external methods
    verify(session, times(1)).createQueue(any());
}