public void testExchangeAutoDeleteOptionPresent() throws URISyntaxException
{
String url = "exchangeClass://exchangeName/Destination/Queue?" + BindingURL.OPTION_EXCHANGE_AUTODELETE + "='true'";
AMQBindingURL burl = new AMQBindingURL(url);
assertTrue(url.equals(burl.toString()));
assertEquals("true", burl.getOption(BindingURL.OPTION_EXCHANGE_AUTODELETE));
assertNull(burl.getOption(BindingURL.OPTION_EXCHANGE_DURABLE));
assertNull(burl.getOption(BindingURL.OPTION_EXCHANGE_INTERNAL));
class MyTestAMQDestination extends AMQDestination
{
public MyTestAMQDestination(BindingURL url)
{