Class Within<T>
- java.lang.Object
-
- org.saynotobugs.confidence.rxjava3.rxexpectation.Within<T>
-
- All Implemented Interfaces:
RxExpectation<T>
public final class Within<T> extends java.lang.Object implements RxExpectation<T>
-
-
Constructor Summary
Constructors Constructor Description Within(java.time.Duration duration, RxExpectation<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.saynotobugs.confidence.Quality<RxTestAdapter<T>>quality(io.reactivex.rxjava3.schedulers.TestScheduler scheduler)Returns aQualityto verify the state of anRxTestAdapter.
-
-
-
Constructor Detail
-
Within
public Within(java.time.Duration duration, RxExpectation<T> delegate)Creates anRxExpectationthat expects the givenRxExpectationto match within the givenDuration.It does so by forwarding the
TestSchedulerby the givenDurationand delegating to the givenRxExpectation.
-
-
Method Detail
-
quality
public org.saynotobugs.confidence.Quality<RxTestAdapter<T>> quality(io.reactivex.rxjava3.schedulers.TestScheduler scheduler)
Description copied from interface:RxExpectationReturns aQualityto verify the state of anRxTestAdapter.- Specified by:
qualityin interfaceRxExpectation<T>
-
-