PostExpectationStreamX<T> extension
Sugar for stubbing Stream-returning methods with mockito.
- on
-
- PostExpectation<
Stream< T> >
- PostExpectation<
Methods
-
thenEmit(
List< T> values) → void -
Available on PostExpectation<
Stub to emitStream< , provided by the PostExpectationStreamX extensionT> >valuesin order. -
thenEmitError(
Object error) → void -
Available on PostExpectation<
Stub to emit anStream< , provided by the PostExpectationStreamX extensionT> >error. -
thenEmitSingle(
T value) → void -
Available on PostExpectation<
Stub to emit a singleStream< , provided by the PostExpectationStreamX extensionT> >value. -
thenEmpty(
) → void -
Available on PostExpectation<
Stub to return an empty stream.Stream< , provided by the PostExpectationStreamX extensionT> >