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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
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)
-
-