// 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!"))));
}