}
@Test
public void testExpressionTransformProcessor() {
HttpSource httpSource = newHttpSource();
FileSink fileSink = newFileSink().binary(true);
stream().create(generateStreamName(),
"%s | transform --expression=payload.toString().toUpperCase() | %s",
httpSource, fileSink);
httpSource.ensureReady().postData("hello").postData("World").postData("!");
assertThat(fileSink, eventually(hasContentsThat(equalTo("HELLOWORLD!"))));