new ForkingRunListener( printStream, defaultChannel, false ).testStarting( expected );
new ForkingRunListener( printStream, anotherChannel, false ).testSkipped( secondExpected );
TestSetMockReporterFactory providerReporterFactory = new TestSetMockReporterFactory();
final ForkClient forkStreamClient = new ForkClient( providerReporterFactory, new Properties() );
forkStreamClient.consumeMultiLineContent( content.toString( "utf-8" ) );
MockReporter reporter = (MockReporter) forkStreamClient.getReporter( defaultChannel );
Assert.assertEquals( MockReporter.TEST_STARTING, reporter.getFirstEvent() );
Assert.assertEquals( expected, reporter.getFirstData() );
Assert.assertEquals( 1, reporter.getEvents().size() );
MockReporter reporter2 = (MockReporter) forkStreamClient.getReporter( anotherChannel );
Assert.assertEquals( MockReporter.TEST_SKIPPED, reporter2.getFirstEvent() );
Assert.assertEquals( secondExpected, reporter2.getFirstData() );
Assert.assertEquals( 1, reporter2.getEvents().size() );
}