Class ValueMatcher<T>

java.lang.Object
org.hamcrest.BaseMatcher<ServiceOutcome<T>>
org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>
com.atlassian.jira.bc.ValueMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<ServiceOutcome<T>>, org.hamcrest.SelfDescribing

public class ValueMatcher<T> extends org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>
Since:
v6.2
  • Constructor Details

    • ValueMatcher

      public ValueMatcher(org.hamcrest.Matcher<? super T> matcher)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(ServiceOutcome<T> item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • describeMismatchSafely

      protected void describeMismatchSafely(ServiceOutcome<T> item, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<ServiceOutcome<T>>