Class HasMatchingRecipients
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<javax.mail.internet.MimeMessage>
com.atlassian.bamboo.matcher.mail.HasMatchingRecipients
- All Implemented Interfaces:
org.hamcrest.Matcher<javax.mail.internet.MimeMessage>
,org.hamcrest.SelfDescribing
public class HasMatchingRecipients
extends org.hamcrest.TypeSafeMatcher<javax.mail.internet.MimeMessage>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) static org.hamcrest.Matcher<javax.mail.internet.MimeMessage>
hasMatchingRecipients
(javax.mail.Address... recipients) boolean
matchesSafely
(javax.mail.internet.MimeMessage mimeMessage) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Method Details
-
matchesSafely
public boolean matchesSafely(javax.mail.internet.MimeMessage mimeMessage) - Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<javax.mail.internet.MimeMessage>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
hasMatchingRecipients
public static org.hamcrest.Matcher<javax.mail.internet.MimeMessage> hasMatchingRecipients(javax.mail.Address... recipients)
-