Channel channel = brokerSetup.getChannel();
String routingKey = "test.key";
brokerSetup.declareExchange(TEST_EXCHANGE, "topic");
brokerSetup.declareAndBindQueue(TEST_QUEUE, TEST_EXCHANGE, routingKey);
channel.exchangeDeclarePassive(TEST_EXCHANGE);
channel.queueDeclarePassive(TEST_QUEUE);
brokerSetup.tearDown();
boolean exchangeExists = true;