@Override
protected void setUp() throws Exception {
// Start an embedded broker up.
brokerService = new BrokerService();
AMQPersistenceAdapter adaptor = new AMQPersistenceAdapter();
adaptor.setIndexBinSize(4096);
brokerService.setPersistenceAdapter(adaptor);
brokerService.deleteAllMessages();
// A small max page size makes this issue occur faster.
PolicyMap policyMap = new PolicyMap();