object TestSourceStage
- Source
- TestGraphStage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestSourceStage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
apply[T, M](stageUnderTest: GraphStageWithMaterializedValue[SourceShape[T], M], probe: TestProbe): Source[T, M]
Creates a source out of the
stageUnderTest
that will inform theprobe
of operator events and callbacks by sending it the various messages found under GraphStageMessages.Creates a source 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 starting with the source while still being able to assert internal events.