I have camel route as below
public class IncomingBatchFileRoute extends RouteBuilder {
@Value(CCS_PROCESSING_INCOMING_DIRECTORY)
private String source;
@Override
public void configure() throws Exception {
from(sourceLocation)).autoStartup(false).to("encryptionEndPoint");
}
}
I need to write a JUNIT For above camel route and am new to it and created a structure as below
public class IncomingBatchFileRouteTest extends CamelTestSupport{
@Override
public RoutesBuilder createRouteBuilder() throws Exception {
return new IncomingBatchFileRoute();
}
@Test
public void sampleMockTest() {
}
}
Not sure how to complete it. Request you to help me on this