java.lang.Object
org.hamcrest.BaseMatcher<String>
com.googlecode.catchexception.throwable.matcher.Find
All Implemented Interfaces:
Serializable, org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

public class Find extends org.hamcrest.BaseMatcher<String> implements Serializable
Copied from Mockito internal.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Find(String regex)
    Instantiates a new find.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    boolean
    matches(Object actual)
     

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString

    Methods inherited from class java.lang.Object

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

    • Find

      public Find(String regex)
      Instantiates a new find.
      Parameters:
      regex - the regex
  • Method Details

    • matches

      public boolean matches(Object actual)
      Specified by:
      matches in interface org.hamcrest.Matcher<String>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
      Specified by:
      describeTo in interface org.hamcrest.SelfDescribing