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 Details

    • ErrorCollectionContainsFieldErrorMatcher

      public ErrorCollectionContainsFieldErrorMatcher(String field, String expectedErrorMessage)
    • ErrorCollectionContainsFieldErrorMatcher

      public ErrorCollectionContainsFieldErrorMatcher(org.hamcrest.Matcher<String> fieldMatcher, org.hamcrest.Matcher<String> errorMessageMatcher)
  • Method Details