RunnableCountDownLatch cd = new RunnableCountDownLatch(1);
connect.start(cd);
cd.await();
assertNotNull(connect);
cd = new RunnableCountDownLatch(1);
connect.stop(cd);
cd.await();
}
@Test(expected=IOException.class)
public void noAutoCreateBroker() throws Exception {