Class ErrorCollectionContainsFieldErrorMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeDiagnosingMatcher<T>
-
- org.hamcrest.FeatureMatcher<ErrorCollection,Map<String,List<String>>>
-
- com.atlassian.bamboo.matcher.error.ErrorCollectionContainsFieldErrorMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<ErrorCollection>
,org.hamcrest.SelfDescribing
public class ErrorCollectionContainsFieldErrorMatcher extends org.hamcrest.FeatureMatcher<ErrorCollection,Map<String,List<String>>>
-
-
Constructor Summary
Constructors Constructor Description ErrorCollectionContainsFieldErrorMatcher(String field, String expectedErrorMessage)
ErrorCollectionContainsFieldErrorMatcher(org.hamcrest.Matcher<String> fieldMatcher, org.hamcrest.Matcher<String> errorMessageMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,List<String>>
featureValueOf(ErrorCollection errorCollection)
-
-
-
Method Detail
-
featureValueOf
protected Map<String,List<String>> featureValueOf(ErrorCollection errorCollection)
- Specified by:
featureValueOf
in classorg.hamcrest.FeatureMatcher<ErrorCollection,Map<String,List<String>>>
-
-