object TestSinkStage
- Source
- TestGraphStage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestSinkStage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[T, M](stageUnderTest: [SinkShape[T], M], probe: TestProbe): Sink[T, M]
Creates a sink out of the
stageUnderTest
that will inform theprobe
of operator events and callbacks by sending it the various messages found under GraphStageMessages.Creates a sink out of the
stageUnderTest
that will inform theprobe
of operator events and callbacks by sending it the various messages found under GraphStageMessages.This allows for creation of a "normal" stream ending with the sink while still being able to assert internal events.