assertThat(fileSink, eventually(hasContentsThat(equalTo("Hello"))));
}
@Test
public void testTcpSink() throws Exception {
TcpSink tcpSink = newTcpSink().start();
HttpSource httpSource = newHttpSource();
stream().create(generateStreamName(), "%s | %s", httpSource, tcpSink);
httpSource.ensureReady().postData("Hi there!");