Package org.springframework.xd.test.fixtures

Examples of org.springframework.xd.test.fixtures.FileSource.appendToFile()


    }

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


  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.