Class Supplies<T>

java.lang.Object
org.saynotobugs.confidence.quality.composite.QualityComposition<io.reactivex.rxjava3.functions.Supplier<T>>
org.saynotobugs.confidence.rxjava3.quality.Supplies<T>
All Implemented Interfaces:
org.saynotobugs.confidence.Quality<io.reactivex.rxjava3.functions.Supplier<T>>

public final class Supplies<T> extends org.saynotobugs.confidence.quality.composite.QualityComposition<io.reactivex.rxjava3.functions.Supplier<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Supplies(org.saynotobugs.confidence.Quality<? super T> delegate)
    Creates a Quality that passes if the Supplier under test supplies a value that matches the given Quality.
    Supplies(T delegate)
    Creates a Quality that passes if the Supplier under test supplies a value equal to the given value.
  • Method Summary

    Methods inherited from class org.saynotobugs.confidence.quality.composite.QualityComposition

    assessmentOf, description

    Methods inherited from class java.lang.Object

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

    • Supplies

      public Supplies(T delegate)
      Creates a Quality that passes if the Supplier under test supplies a value equal to the given value.
    • Supplies

      public Supplies(org.saynotobugs.confidence.Quality<? super T> delegate)
      Creates a Quality that passes if the Supplier under test supplies a value that matches the given Quality.