Class ConsequenceMatchers.AnswerMatcher<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
net.serenitybdd.screenplay.matchers.ConsequenceMatchers.AnswerMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
Enclosing class:
ConsequenceMatchers

public static class ConsequenceMatchers.AnswerMatcher<T> extends org.hamcrest.TypeSafeMatcher<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnswerMatcher(String propertyName, org.hamcrest.Matcher<?> valueMatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    describeMismatchSafely(T domainObject, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(T domainObject)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AnswerMatcher

      public AnswerMatcher(String propertyName, org.hamcrest.Matcher<?> valueMatcher)
  • Method Details

    • describeMismatchSafely

      protected void describeMismatchSafely(T domainObject, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<T>
    • matchesSafely

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

      public void describeTo(org.hamcrest.Description description)