@Test
	public void receivesContentsInstantlyByDefault() {
		stream().create(generateStreamName(), "trigger --payload='Hello' | %s", binaryFileSink);

		assertThat(binaryFileSink, eventually(hasContentsThat(equalTo("Hello"))));
	}
Tests for the trigger source module.

@author Florent Biville
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractTriggerModulesTests.java