Class ErrorCollectionContainsMessageMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<ErrorCollection>
com.atlassian.bamboo.matcher.error.ErrorCollectionContainsMessageMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<ErrorCollection>
,org.hamcrest.SelfDescribing
public class ErrorCollectionContainsMessageMatcher
extends org.hamcrest.TypeSafeMatcher<ErrorCollection>
-
Constructor Summary
ConstructorDescriptionErrorCollectionContainsMessageMatcher
(String expectedErrorMessage) ErrorCollectionContainsMessageMatcher
(org.hamcrest.Matcher<String> messageMatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) protected boolean
matchesSafely
(ErrorCollection errorCollection) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Constructor Details
-
ErrorCollectionContainsMessageMatcher
-
ErrorCollectionContainsMessageMatcher
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<ErrorCollection>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-