assertTrue(SMTPReply.isPositiveCompletion(client.getReplyCode()));
client.helo("");
assertTrue("Reply="+ client.getReplyString(), SMTPReply.isNegativePermanent(client.getReplyCode()));
client.quit();
assertTrue("Reply="+ client.getReplyString(), SMTPReply.isPositiveCompletion(client.getReplyCode()));
client.disconnect();
Iterator<MailEnvelope> queued = hook.getQueued().iterator();
assertFalse(queued.hasNext());