assertTrue(f.isStopped());
// The connector should be started, but with no listeners registered.
doListenerTests(endpointName, 0, true);
f.start();
assertTrue(f.isStarted());
assertFalse(f.isStopped());
// The listeners should now be registered and started.
doListenerTests(endpointName, 1, true);