public void autoCreateBroker() throws Exception {
Transport connect = TransportFactory.connect("vm://test1");
connect.setDispatchQueue(Dispatch.createQueue());
RunnableCountDownLatch cd = new RunnableCountDownLatch(1);
connect.start(cd);
cd.await();
assertNotNull(connect);
cd = new RunnableCountDownLatch(1);
connect.stop(cd);
cd.await();
}