protected void setUp() throws Exception {
		HandlerForTests.setupLogging();
	
		server = ChannelManagerFactory.createChannelManager("server", null);
		client = ChannelManagerFactory.createChannelManager("client", null);
		
		loopBack = InetAddress.getByName("127.0.0.1");	
		loopBackAnyPort = new InetSocketAddress(loopBack, 0);
		
		serverAccept = MockObjectFactory.createMock(ConnectionListener.class);
		srvrChannel = server.createTCPServerChannel("jmxServer");
		srvrChannel.setReuseAddress(true);
		srvrChannel.bind(loopBackAnyPort);	
		srvrChannel.registerServerSocketChannel((ConnectionListener) serverAccept);
		
		clientHandler = MockObjectFactory.createMock(DataListener.class);
		clientConnect = MockObjectFactory.createMock(OperationCallback.class);
		client1 = client.createTCPChannel("ClientChannel");	
		
	}