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
Constructors Constructor Description ErrorCollectionContainsMessageMatcher(String expectedErrorMessage)
ErrorCollectionContainsMessageMatcher(org.hamcrest.Matcher<String> messageMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
protected boolean
matchesSafely(ErrorCollection errorCollection)
-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
matchesSafely
protected boolean matchesSafely(ErrorCollection errorCollection)
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<ErrorCollection>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
-