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 Details

    • ErrorCollectionContainsMessageMatcher

      public ErrorCollectionContainsMessageMatcher(String expectedErrorMessage)
    • ErrorCollectionContainsMessageMatcher

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

    • matchesSafely

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

      public void describeTo(org.hamcrest.Description description)