Class ErrorCollectionContainsMessageMatcher

  • All Implemented Interfaces:
    org.hamcrest.Matcher<ErrorCollection>, org.hamcrest.SelfDescribing

    public class ErrorCollectionContainsMessageMatcher
    extends org.hamcrest.TypeSafeMatcher<ErrorCollection>
    • Constructor Detail

      • ErrorCollectionContainsMessageMatcher

        public ErrorCollectionContainsMessageMatcher​(String expectedErrorMessage)
      • ErrorCollectionContainsMessageMatcher

        public ErrorCollectionContainsMessageMatcher​(org.hamcrest.Matcher<String> messageMatcher)
    • Method Detail

      • matchesSafely

        protected boolean matchesSafely​(ErrorCollection errorCollection)
        Specified by:
        matchesSafely in class org.hamcrest.TypeSafeMatcher<ErrorCollection>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)