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