// simulate disposal as well we have to create an extra instance here.
Connector localConnector = createConnector();
localConnector.setName(connectorName+"-temp");
// the connector did not come from the registry, so we need to initialise manually
localConnector.initialise();
localConnector.start();
assertNotNull(localConnector);
assertTrue(localConnector.isStarted());
assertTrue(!localConnector.isDisposed());