Class HasMatchingSubject
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<javax.mail.internet.MimeMessage>
com.atlassian.bamboo.matcher.mail.HasMatchingSubject
- All Implemented Interfaces:
org.hamcrest.Matcher<javax.mail.internet.MimeMessage>
,org.hamcrest.SelfDescribing
public class HasMatchingSubject
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>
hasMatchingSubject
(@NotNull String subject) 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) -
hasMatchingSubject
public static org.hamcrest.Matcher<javax.mail.internet.MimeMessage> hasMatchingSubject(@NotNull @NotNull String subject)
-