@Test
	public void testCustomFileLocations() throws Exception {
		// Are we on *nix at least?
		if (!new File("/tmp/").exists()) {
			return;
		}

		FileSource source = newFileSource();
		FileSink sink = newFileSink().binary(true);

		source.appendToFile("Hi there!");
		stream().create(generateStreamName(), "in: %s | out: %s", source, sink);
		assertThat(sink, eventually(hasContentsThat(equalTo("Hi there!"))));


	}
Tests to explicitly assert file related source and sink behavior.

@author Eric Bottard
@author David Turanski
@author Franck Marchand
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractFileSourceAndFileSinkTests.java