457458459460461462463464465466467
assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } }
493494495496497498499500501502503
assertTrue(client.logout()); } finally { if (server != null) { server.unbind(); } } } private void checkMessage(Message message, Reader reader) throws IOException {
153154155156157158159160161162163
Iterator<MailEnvelope> queued = hook.getQueued().iterator(); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } }
186187188189190191192193194195196
Iterator<MailEnvelope> queued = hook.getQueued().iterator(); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } } @Test
241242243244245246247248249250251
checkEnvelope(env, SENDER, Arrays.asList(RCPT1, RCPT2), MSG1); assertFalse(queued.hasNext()); } finally { if (server != null) { server.unbind(); } } }
949596979899100101102103104
127128129130131132133134135136137
160161162163164165166167168169170
202203204205206207208209210211212
237238239240241242243244245246247