7778798081828384858687
connectionWrapper.connect( monitor ); assertTrue( connectionWrapper.isConnected() ); assertNull( monitor.getException() ); connectionWrapper.disconnect(); assertFalse( connectionWrapper.isConnected() ); // TODO: SSL, StartTLS }
144145146147148149150151152153154
connectionWrapper.bind( monitor ); assertTrue( connectionWrapper.isConnected() ); assertNull( monitor.getException() ); connectionWrapper.unbind(); connectionWrapper.disconnect(); assertFalse( connectionWrapper.isConnected() ); }