public void testUDPWithConnect() 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(remoteAddr);
		assertTrue("should be bound", client1.isBound());
		
		boolean isConnected = client1.isConnected();
		assertTrue("Client should be connected", isConnected);
		InetSocketAddress localAddr = client1.getLocalAddress();
		assertTrue("Port should not be 0", localAddr.getPort() != 0);
		
		DatagramChannel svrChan = mockServer.getUDPServerChannel();

		client1.registerForReads((DataListener)mockHandler);

		verifyDataPassing(svrChan);
		verifyTearDown();
        
        HandlerForTests.checkForWarnings();
	}