public void testConnectClose() 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");
        
        mockServer.expect(MockNIOServer.CONNECTED);

        verifyTearDown();        
    }