String hostName = "host" + getName();
_storePath = System.getProperty("QPID_WORK", TMP_FOLDER + File.separator + getTestName()) + File.separator + nodeName;
cleanup(new File(_storePath));
Broker<?> broker = BrokerTestHelper.createBrokerMock();
_taskExecutor = new TaskExecutorImpl();
_taskExecutor.start();
when(broker.getTaskExecutor()).thenReturn(_taskExecutor);
ConfiguredObjectFactory factory = broker.getObjectFactory();
Map<String, Object> nodeAttributes = new HashMap<>();