MockedStreams.output doesn't allow you to specify zero for the size of the expected output. That means you can't set an expectation that certain inputs should not have any outputs in your topology.
Instead of raising an exception when given a size of zero, output should verify that driver.readOutput returns null and return an empty set.
MockedStreams.outputdoesn't allow you to specify zero for thesizeof the expected output. That means you can't set an expectation that certain inputs should not have any outputs in your topology.Instead of raising an exception when given a
sizeof zero,outputshould verify thatdriver.readOutputreturnsnulland return an empty set.