337338339340341342343344345346347
assertTrue(client.noop()); assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } }
372373374375376377378379380381382
assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } }
403404405406407408409410411412413
assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } } @Test
452453454455456457458459460461462
487488489490491492493494495496497
assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } } private void checkMessage(Message message, Reader reader) throws IOException {
114115116117118119120121122123124
Iterator<MailEnvelope> queued = hook.getQueued().iterator(); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } }
152153154155156157158159160161162
184185186187188189190191192193194
Iterator<MailEnvelope> queued = hook.getQueued().iterator(); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } } @Test
238239240241242243244245246247248
checkEnvelope(env, SENDER, Arrays.asList(RCPT1, RCPT2), MSG1); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } }
90919293949596979899100
//assertTrue(client.logout()); client.disconnect(); } finally { if (server != null) { server.unbind(); } } }