Examples of expectedBodiesReceivedInAnyOrder()


Examples of org.apache.camel.component.mock.MockEndpoint.expectedBodiesReceivedInAnyOrder()

    }

    @Test
    public void testPollFileAndShouldBeMoved() throws Exception {
        MockEndpoint mock = getMockEndpoint("mock:result");
        mock.expectedBodiesReceivedInAnyOrder("Hello", "Bye", "Goodday");
        mock.expectedFileExists(FTP_ROOT_DIR + ".done/hello.txt");
        mock.expectedFileExists(FTP_ROOT_DIR + ".done/bye.txt");
        mock.expectedFileExists(FTP_ROOT_DIR + ".done/goodday.txt");

        mock.assertIsSatisfied();
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.