// and now we can send a message to the route and see that it works
MockEndpoint mock = camel.getEndpoint("mock:result", MockEndpoint.class);
mock.expectedMessageCount(1);
camel.createProducerTemplate().sendBody("direct:start", "Hello World");
mock.assertIsSatisfied();
}
public void testAutoStartupTrue() throws Exception {