public void testDestinationWithMultiOption() throws URISyntaxException
{
String url = "exchangeClass://exchangeName/Destination/?option='value',option2='value2'";
AMQBindingURL dest = new AMQBindingURL(url);
assertTrue(dest.getExchangeClass().equalsCharSequence("exchangeClass"));
assertTrue(dest.getExchangeName().equalsCharSequence("exchangeName"));
assertTrue(dest.getDestinationName().equalsCharSequence("Destination"));
assertTrue(dest.getQueueName().equalsCharSequence(""));
assertTrue(dest.getOption("option").equals("value"));
assertTrue(dest.getOption("option2").equals("value2"));
}