@Test
public void testTappingModulesVariations() throws IOException {
// Note: this test is using a regular sink, not a named channel sink
HttpSource httpSource = newHttpSource();
FileSink sink = newFileSink().binary(true);
FileSink tapsink3 = newFileSink().binary(true);
FileSink tapsink5 = newFileSink().binary(true);
FileSink tapsink6 = newFileSink().binary(true);
String streamName = generateStreamName();
stream().create(streamName, "%s | transform --expression=payload.toUpperCase() | %s", httpSource, sink);
stream().create(generateStreamName(), "%s > transform --expression=payload.replaceAll('A','.') | %s",
getTapName(streamName), tapsink3);