Testing producers with teetime is not possible.
When I try to test the producer new MultipleConnectionTcpReaderStage(PORT, BUFFER_SIZE)
with
StageTester.test(classUnderTest).start();
, the teetime tester fails with "The start stage may not be null".
Relevant partial stacktrace is java.lang.IllegalStateException: The start stage may not be null. at teetime.framework.scheduling.pushpullmodel.PushPullScheduling.initialize(PushPullScheduling.java:81) at teetime.framework.scheduling.pushpullmodel.PushPullScheduling.onInitialize(PushPullScheduling.java:55) at teetime.framework.Execution.<init>(Execution.java:147) at teetime.framework.Execution.<init>(Execution.java:128) at teetime.framework.Execution.<init>(Execution.java:116) at teetime.framework.test.StageTester.start(StageTester.java:103)