Package org.apache.pekko.stream.testkit
Class TestSourceStage$
java.lang.Object
org.apache.pekko.stream.testkit.TestSourceStage$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TestSourceStage$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,M> Source<T, M> apply(GraphStageWithMaterializedValue<SourceShape<T>, M> stageUnderTest, TestProbe probe) Creates a source out of thestageUnderTestthat will inform theprobeof operator events and callbacks by sending it the various messages found underGraphStageMessages.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
TestSourceStage$
public TestSourceStage$()
-
-
Method Details
-
apply
public <T,M> Source<T,M> apply(GraphStageWithMaterializedValue<SourceShape<T>, M> stageUnderTest, TestProbe probe) Creates a source out of thestageUnderTestthat will inform theprobeof operator events and callbacks by sending it the various messages found underGraphStageMessages.This allows for creation of a "normal" stream starting with the source while still being able to assert internal events.
-