assertEquals("Number of removeConnection calls to underlying Broker must match number of calls made to " +
"AuthenticationBroker.", 1, receiveBroker.removeConnectionData.size());
}
public void testInsecureConnector() {
Connector connector = new TransportConnector(nonSslTransportServer);
connectionContext.setConnector(connector);
connectionInfo.setUserName(INSECURE_USERNAME);
try {
authBroker.addConnection(connectionContext, connectionInfo);