public void autoCreateBroker() throws Exception {
Transport connect = TransportFactory.connect("vm://test1");
connect.setDispatchQueue(Dispatch.createQueue());
connect.start();
assertNotNull(connect);
connect.stop();
}
@Test(expected=IOException.class)
public void noAutoCreateBroker() throws Exception {
TransportFactory.connect("vm://test2?create=false");