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
ConstructorsConstructorDescriptionErrorCollectionContainsMessageMatcher(String expectedErrorMessage) ErrorCollectionContainsMessageMatcher(org.hamcrest.Matcher<String> messageMatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(ErrorCollection errorCollection) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Constructor Details
-
ErrorCollectionContainsMessageMatcher
-
ErrorCollectionContainsMessageMatcher
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<ErrorCollection>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-