}
public void testBindQueue() throws Exception
{
AMQQueue queue = createTestQueue(QUEUE_NAME, "queueOwner", false, null);
Binding binding = new Binding(UUIDGenerator.generateRandomUUID(), ROUTING_KEY, queue,
_exchange, _bindingArgs);
DurableConfigurationStoreHelper.createBinding(_configStore, binding);
reopenStore();
Map<String,Object> map = new HashMap<String, Object>();
map.put(org.apache.qpid.server.model.Binding.EXCHANGE, _exchange.getId().toString());
map.put(org.apache.qpid.server.model.Binding.QUEUE, queue.getId().toString());
map.put(org.apache.qpid.server.model.Binding.NAME, ROUTING_KEY);
map.put(org.apache.qpid.server.model.Binding.ARGUMENTS,_bindingArgs);
verify(_recoveryHandler).configuredObject(eq(binding.getId()), eq(BINDING),
eq(map));
}