public void testRunWithConfig() throws Exception
{
Properties properties = new Properties();
properties.setProperty("test", "foo");
HornetQBootstrapServer bootstrap = new HornetQBootstrapServer(new PropertyKernelConfig(properties),
HornetQBootstrapServerTest.beans1);
bootstrap.run();
Assert.assertTrue(DummyBean.started);
bootstrap.shutDown();
Assert.assertFalse(DummyBean.started);