*/	
	public void testRegisterForReadsAfterConnect() throws Exception {
		//make sure we are testing the right one....
		Class c = Class.forName(getChannelImplName());
		assertEquals("should be instance of secure channel", c, client1.getClass());
	
		//no bind, just do connect to test port is not zero
		client1.oldConnect(svrAddr, (ConnectionCallback)mockConnect);
		mockConnect.expect("connected");
		log.info("connected");
		
		boolean isConnected = client1.isConnected();
		assertTrue("Client should be connected", isConnected);
		InetSocketAddress localAddr = client1.getLocalAddress();
		assertTrue("Port should not be 0", localAddr.getPort() != 0);
		

		TCPChannel svrChan = ZNioFailureSuperclass.expectServerChannel(mockServer, c);

		client1.registerForReads((DataListener)mockHandler);

		log.info("data passing");
		verifyDataPassing(svrChan);
		log.info("teardown");
		verifyTearDown();
		log.info("done");
	}