Package | Description |
---|---|
org.seedstack.javamail.test |
Provides classes for testing the mail features.
|
Modifier and Type | Method and Description |
---|---|
static MailMessagesAssertions |
MockMailServerAssertions.assertThat(javax.mail.Message message)
Creates an assertion over a message.
|
MailMessagesAssertions |
MailMessagesAssertions.checkByCondition(com.google.common.base.Predicate<javax.mail.Message> predicate)
Assert the message satisfies a predicate.
|
MailMessagesAssertions |
MailMessagesAssertions.hasRecipients(javax.mail.Message.RecipientType type)
Assert that the message has recipients of a specific type.
|
MailMessagesAssertions |
MailMessagesAssertions.hasSentDate()
Assert that the message has a title.
|
MailMessagesAssertions |
MailMessagesAssertions.hasTitle()
Assert that the message has a title.
|
MailMessagesAssertions |
MailMessagesAssertions.recipientEqualsTo(javax.mail.Message.RecipientType type,
javax.mail.Address[] recipients)
Assert that the recipients field is equal to specified recipients.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.