Class MatcherMatcher

java.lang.Object
org.dmfs.jems2.hamcrest.matchers.matcher.MatcherMatcher

public final class MatcherMatcher extends Object
Collection of static matcher factories to test Matchers.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>>
    describesAs(String description)
     
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>>
    describesAs(org.hamcrest.Matcher<? super String> descriptionMatcher)
     
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>>
    matches(V value)
     
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>>
    mismatches(V value)
     
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>>
    mismatches(V value, String mismatchDescription)
     
    static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>>
    mismatches(V value, org.hamcrest.Matcher<? super String> mismatchDescriptionMatcher)
     

    Methods inherited from class java.lang.Object

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

    • MatcherMatcher

      public MatcherMatcher()
  • Method Details

    • matches

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>> matches(V value)
    • describesAs

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>> describesAs(String description)
    • describesAs

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>> describesAs(org.hamcrest.Matcher<? super String> descriptionMatcher)
    • mismatches

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>> mismatches(V value)
    • mismatches

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<? super V>> mismatches(V value, String mismatchDescription)
    • mismatches

      public static <V> org.hamcrest.Matcher<org.hamcrest.Matcher<V>> mismatches(V value, org.hamcrest.Matcher<? super String> mismatchDescriptionMatcher)