java.lang.Object
org.saynotobugs.confidence.hamcrest.quality.Matches<T>
All Implemented Interfaces:
org.saynotobugs.confidence.Quality<T>

public final class Matches<T> extends Object implements org.saynotobugs.confidence.Quality<T>
A Quality of T that delegates to a Hamcrest Matcher.
  • Constructor Details

    • Matches

      public Matches(org.hamcrest.Matcher<? super T> delegate)
  • Method Details

    • assessmentOf

      public org.saynotobugs.confidence.Assessment assessmentOf(T candidate)
      Specified by:
      assessmentOf in interface org.saynotobugs.confidence.Quality<T>
    • description

      public org.saynotobugs.confidence.Description description()
      Specified by:
      description in interface org.saynotobugs.confidence.Quality<T>