@Test
public void testResolveDestinationNameNoQueueExists() throws Exception
{

    try
    {
        herdJmsDestinationResolver.resolveDestinationName(null, HerdJmsDestinationResolver.SQS_DESTINATION_HERD_INCOMING, false);
        fail("Should throw an IllegalStateException.");
    }
    catch (IllegalStateException ex)
    {
        assertTrue("\"Failed to resolve the SQS queue:\" error message doesn't match", ex.getMessage().startsWith("Failed to resolve the SQS queue:"));
    }
}