void () { mySplitter = createEventSplitter(false, false); mySplitter.process("Some stderr", ProcessOutputTypes.STDERR); Assert.assertEquals(List.of("Some stderr"), myOutput.get(ProcessOutputTypes.STDERR).toList()); mySplitter.process("output\nFoo ##team", ProcessOutputTypes.STDERR); Assert.assertEquals(List.of("Some stderr", "output\n", "Foo ##team"), myOutput.get(ProcessOutputTypes.STDERR).toList()); }