assertTrue(serverChannel1 instanceof VmTransportServerChannel);
BrokerConnectorImpl connector2 = (BrokerConnectorImpl) connectors.get(1);
TransportServerChannel serverChannel2 = connector2.getServerChannel();
assertTrue(serverChannel2 instanceof TcpTransportServerChannel);
TcpTransportServerChannel tcpChannel2 = (TcpTransportServerChannel) serverChannel2;
assertEquals("backlog", 1000, tcpChannel2.getBacklog());
assertEquals("maxOutstandingMessages", 50, tcpChannel2.getMaxOutstandingMessages());
assertTrue("useAsyncSend", tcpChannel2.isUseAsyncSend());
assertTrue("Created correct wireFormat: " + tcpChannel2.getWireFormat(), tcpChannel2.getWireFormat() instanceof WireFormatStub);
List networkConnectors = container.getNetworkConnectors();
assertEquals("Should have a single network connector", 1, networkConnectors.size());
NetworkConnector networkConnector = (NetworkConnector) networkConnectors.get(0);